Commit 57ac1678 authored by Nathan Lynch's avatar Nathan Lynch Committed by Linus Torvalds

[PATCH] unexport register_cpu and unregister_cpu

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: default avatarNathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2dd8cc90
...@@ -64,7 +64,6 @@ void unregister_cpu(struct cpu *cpu, struct node *root) ...@@ -64,7 +64,6 @@ void unregister_cpu(struct cpu *cpu, struct node *root)
return; return;
} }
EXPORT_SYMBOL(unregister_cpu);
#else /* ... !CONFIG_HOTPLUG_CPU */ #else /* ... !CONFIG_HOTPLUG_CPU */
static inline void register_cpu_control(struct cpu *cpu) static inline void register_cpu_control(struct cpu *cpu)
{ {
...@@ -96,9 +95,6 @@ int __devinit register_cpu(struct cpu *cpu, int num, struct node *root) ...@@ -96,9 +95,6 @@ int __devinit register_cpu(struct cpu *cpu, int num, struct node *root)
register_cpu_control(cpu); register_cpu_control(cpu);
return error; return error;
} }
#ifdef CONFIG_HOTPLUG_CPU
EXPORT_SYMBOL(register_cpu);
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment