summaryrefslogtreecommitdiff
path: root/include/asm-x86/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/cpu.h')
-rw-r--r--include/asm-x86/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/cpu.h b/include/asm-x86/cpu.h
index 85ece5f10e9e..73f2ea84fd74 100644
--- a/include/asm-x86/cpu.h
+++ b/include/asm-x86/cpu.h
@@ -10,8 +10,9 @@
struct x86_cpu {
struct cpu cpu;
};
-extern int arch_register_cpu(int num);
+
#ifdef CONFIG_HOTPLUG_CPU
+extern int arch_register_cpu(int num);
extern void arch_unregister_cpu(int);
#endif