summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/cpu.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 17:13:05 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-29 14:17:01 +0100
commitc0b5842a457d44c8788b3fd0c64969be7ef673cd (patch)
tree0e8567fee5ab4865b4dc5806d8b59a1dc174834b /arch/x86/include/asm/cpu.h
parentx86: replace CONFIG_X86_SMP with CONFIG_SMP (diff)
downloadlinux-c0b5842a457d44c8788b3fd0c64969be7ef673cd.tar.xz
linux-c0b5842a457d44c8788b3fd0c64969be7ef673cd.zip
x86: generalize boot_cpu_id
x86/Voyager can boot on non-zero processors. While that can probably be fixed by properly remapping the physical CPU IDs, keep boot_cpu_id for now for easier transition - and expand it to all of x86. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/cpu.h')
-rw-r--r--arch/x86/include/asm/cpu.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h
index f03b23e32864..b185091bf19c 100644
--- a/arch/x86/include/asm/cpu.h
+++ b/arch/x86/include/asm/cpu.h
@@ -32,10 +32,6 @@ extern void arch_unregister_cpu(int);
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
+extern unsigned int boot_cpu_id;
#endif /* _ASM_X86_CPU_H */