]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/include/asm/cpu.h
x86: smp.h move boot_cpu_id declartion to cpu.h
[net-next-2.6.git] / arch / x86 / include / asm / cpu.h
index 89edafb9339012e33065ce2bd7a45d8af4f51079..f03b23e328645e319118d5ed06729b2a7e34887c 100644 (file)
@@ -31,4 +31,11 @@ extern void arch_unregister_cpu(int);
 #endif
 
 DECLARE_PER_CPU(int, cpu_state);
+
+#ifdef CONFIG_X86_HAS_BOOT_CPU_ID
+extern unsigned char boot_cpu_id;
+#else
+#define boot_cpu_id                            0
+#endif
+
 #endif /* _ASM_X86_CPU_H */