X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86%2Fcpu.h;h=73f2ea84fd74b024fa4ebc8e91cabcdab4340108;hb=28b2ee20c7cb;hp=9d914e1e4aad446e649dd8678d856768e637a38d;hpb=ebf8889bd1fe3615991ff4494635d237280652a2;p=pandora-kernel.git diff --git a/include/asm-x86/cpu.h b/include/asm-x86/cpu.h index 9d914e1e4aad..73f2ea84fd74 100644 --- a/include/asm-x86/cpu.h +++ b/include/asm-x86/cpu.h @@ -7,15 +7,13 @@ #include #include -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); -extern int enable_cpu_hotplug; -#else -#define enable_cpu_hotplug 0 #endif DECLARE_PER_CPU(int, cpu_state);