diff options
Diffstat (limited to 'arch/x86/kernel/topology.c')
-rw-r--r-- | arch/x86/kernel/topology.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/topology.c b/arch/x86/kernel/topology.c index 78cbb655aa79..e6757aaa202b 100644 --- a/arch/x86/kernel/topology.c +++ b/arch/x86/kernel/topology.c | |||
@@ -57,11 +57,10 @@ void arch_unregister_cpu(int num) | |||
57 | } | 57 | } |
58 | EXPORT_SYMBOL(arch_unregister_cpu); | 58 | EXPORT_SYMBOL(arch_unregister_cpu); |
59 | #else | 59 | #else |
60 | int arch_register_cpu(int num) | 60 | static int __init arch_register_cpu(int num) |
61 | { | 61 | { |
62 | return register_cpu(&per_cpu(cpu_devices, num).cpu, num); | 62 | return register_cpu(&per_cpu(cpu_devices, num).cpu, num); |
63 | } | 63 | } |
64 | EXPORT_SYMBOL(arch_register_cpu); | ||
65 | #endif /*CONFIG_HOTPLUG_CPU*/ | 64 | #endif /*CONFIG_HOTPLUG_CPU*/ |
66 | 65 | ||
67 | static int __init topology_init(void) | 66 | static int __init topology_init(void) |