
From: Nathan Lynch <nathanl@austin.ibm.com>

We introduced exports for register_cpu and unregister_cpu right after
2.6.10.  As far as I can tell these are not called from any code which can
be built as a module, and I can't think of a good reason why any out of
tree code would use them.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/drivers/base/cpu.c |    4 ----
 1 files changed, 4 deletions(-)

diff -puN drivers/base/cpu.c~unexport-register_cpu-and-unregister_cpu drivers/base/cpu.c
--- 25/drivers/base/cpu.c~unexport-register_cpu-and-unregister_cpu	2005-01-26 11:21:17.132139840 -0800
+++ 25-akpm/drivers/base/cpu.c	2005-01-26 11:21:17.135139384 -0800
@@ -64,7 +64,6 @@ void unregister_cpu(struct cpu *cpu, str
 
 	return;
 }
-EXPORT_SYMBOL(unregister_cpu);
 #else /* ... !CONFIG_HOTPLUG_CPU */
 static inline void register_cpu_control(struct cpu *cpu)
 {
@@ -96,9 +95,6 @@ int __devinit register_cpu(struct cpu *c
 		register_cpu_control(cpu);
 	return error;
 }
-#ifdef CONFIG_HOTPLUG_CPU
-EXPORT_SYMBOL(register_cpu);
-#endif
 
 
 
_
