[PATCH] mm_online_pgdat_export_symbol
Jay Lan <[email protected]> Fri, 15 Aug 2008 12:25:21 -0700
| Newsgroups | gmane.linux.kernel.debugging |
|---|---|
| Message-ID | <[email protected]> |
The mm symbols, first_online_pgdat and next_online_pgdat, are referenced by kdbm_vm.c for printing a struct pglist_data through a kdb 'pgdat' command. The symbols are referenced for printing only. You need the export if CONFIG_KDB_MODULES=m. This patch was generated against 2.6.27-rc2 and will be integrated into the kdb patchset for 2.6.27-rc3 or later. Signed-off-by Jay Lan <[email protected]> -- Attached file included as plaintext by Ecartis -- -- File: mm_online_pgdat_export_symbol The mm symbols, first_online_pgdat and next_online_pgdat, are referenced by kdbm_vm.c for printing a struct pglist_data through a kdb 'pgdat' command. The symbols are referenced for printing only. You need the export if CONFIG_KDB_MODULES=m. This patch was generated against 2.6.27-rc2 and will be integrated into next kdb patchset for 2.6.27-rc3 or later. Signed-off-by Jay Lan <[email protected]> --- mm/mmzone.c | 4 ++++ 1 file changed, 4 insertions(+) Index: linux/mm/mmzone.c =================================================================== --- linux.orig/mm/mmzone.c 2008-07-13 14:51:29.000000000 -0700 +++ linux/mm/mmzone.c 2008-08-15 11:47:49.733470596 -0700 @@ -22,6 +22,10 @@ struct pglist_data *next_online_pgdat(st return NULL; return NODE_DATA(nid); } +#ifdef CONFIG_KDB +EXPORT_SYMBOL(first_online_pgdat); +EXPORT_SYMBOL(next_online_pgdat); +#endif /* * next_zone - helper magic for for_each_zone() --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.