diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 17:13:05 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 14:17:01 +0100 |
commit | c0b5842a457d44c8788b3fd0c64969be7ef673cd (patch) | |
tree | 0e8567fee5ab4865b4dc5806d8b59a1dc174834b /arch/x86/include/asm/cpu.h | |
parent | 3e5095d15276efd14a45393666b1bb7536bf179f (diff) | |
download | linux-stable-c0b5842a457d44c8788b3fd0c64969be7ef673cd.tar.gz linux-stable-c0b5842a457d44c8788b3fd0c64969be7ef673cd.tar.bz2 linux-stable-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.h | 6 |
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 */ |