summaryrefslogtreecommitdiffstats
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-x86/cpu.h b/include/asm-x86/cpu.h
index b1bc7b1b64b0..73f2ea84fd74 100644
--- a/include/asm-x86/cpu.h
+++ b/include/asm-x86/cpu.h
@@ -7,11 +7,12 @@
#include <linux/nodemask.h>
#include <linux/percpu.h>
-struct i386_cpu {
+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
OpenPOWER on IntegriCloud