Messages in this thread Patch in this message | | | Date | Fri, 1 Dec 2006 07:22:10 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] remove EXPORT_UNUSED_SYMBOL'ed symbols |
| |
In time for 2.6.20, we can get rid of this junk.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
kernel/printk.c | 3 --- mm/bootmem.c | 2 -- mm/memory.c | 1 - mm/mmzone.c | 5 ----- 4 files changed, 11 deletions(-)
--- linux-2.6.19-rc6-mm2/kernel/printk.c.old 2006-12-01 06:54:08.000000000 +0100 +++ linux-2.6.19-rc6-mm2/kernel/printk.c 2006-12-01 06:54:15.000000000 +0100 @@ -53,8 +53,6 @@ DEFAULT_CONSOLE_LOGLEVEL, /* default_console_loglevel */ }; -EXPORT_UNUSED_SYMBOL(console_printk); /* June 2006 */ - /* * Low lever drivers may need that to know if they can schedule in * their unblank() callback or not. So let's export it. @@ -753,7 +751,6 @@ { return console_locked; } -EXPORT_UNUSED_SYMBOL(is_console_locked); /* June 2006 */ /** * release_console_sem - unlock the console system --- linux-2.6.19-rc6-mm2/mm/bootmem.c.old 2006-12-01 06:54:22.000000000 +0100 +++ linux-2.6.19-rc6-mm2/mm/bootmem.c 2006-12-01 06:54:26.000000000 +0100 @@ -27,8 +27,6 @@ unsigned long min_low_pfn; unsigned long max_pfn; -EXPORT_UNUSED_SYMBOL(max_pfn); /* June 2006 */ - static LIST_HEAD(bdata_list); #ifdef CONFIG_CRASH_DUMP /* --- linux-2.6.19-rc6-mm2/mm/memory.c.old 2006-12-01 06:54:33.000000000 +0100 +++ linux-2.6.19-rc6-mm2/mm/memory.c 2006-12-01 06:54:36.000000000 +0100 @@ -1902,7 +1902,6 @@ return 0; } -EXPORT_UNUSED_SYMBOL(vmtruncate_range); /* June 2006 */ /** * swapin_readahead - swap in pages in hope we need them soon --- linux-2.6.19-rc6-mm2/mm/mmzone.c.old 2006-12-01 06:54:49.000000000 +0100 +++ linux-2.6.19-rc6-mm2/mm/mmzone.c 2006-12-01 06:55:18.000000000 +0100 @@ -14,8 +14,6 @@ return NODE_DATA(first_online_node); } -EXPORT_UNUSED_SYMBOL(first_online_pgdat); /* June 2006 */ - struct pglist_data *next_online_pgdat(struct pglist_data *pgdat) { int nid = next_online_node(pgdat->node_id); @@ -24,8 +22,6 @@ return NULL; return NODE_DATA(nid); } -EXPORT_UNUSED_SYMBOL(next_online_pgdat); /* June 2006 */ - /* * next_zone - helper magic for for_each_zone() @@ -45,5 +41,4 @@ } return zone; } -EXPORT_UNUSED_SYMBOL(next_zone); /* June 2006 */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |