public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] remove EXPORT_UNUSED_SYMBOL'ed symbols
@ 2006-12-01  6:22 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-12-01  6:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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  */
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-01  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-01  6:22 [2.6 patch] remove EXPORT_UNUSED_SYMBOL'ed symbols Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox