diff options
author | Jaswinder Singh Rajput <jaswinder@infradead.org> | 2009-01-07 16:08:59 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-07 20:48:26 (GMT) |
commit | 6d652ea1d056390a0c33db92b44ed219284b71af (patch) | |
tree | e8914b59fcfc60345b75241fc7d43c664ff96424 /arch/x86/include/asm | |
parent | af8968abf09fe5984bdd206e54e0eeb1dc1fa29c (diff) | |
download | linux-fsl-qoriq-6d652ea1d056390a0c33db92b44ed219284b71af.tar.xz |
x86: smp.h move boot_cpu_id declartion to cpu.h
Impact: cleanup
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/cpu.h | 7 | ||||
-rw-r--r-- | arch/x86/include/asm/smp.h | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index 89edafb..f03b23e 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arch/x86/include/asm/cpu.h @@ -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 */ diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index c975b6f..74ad9ef 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h @@ -212,11 +212,5 @@ static inline int hard_smp_processor_id(void) #endif /* CONFIG_X86_LOCAL_APIC */ -#ifdef CONFIG_X86_HAS_BOOT_CPU_ID -extern unsigned char boot_cpu_id; -#else -#define boot_cpu_id 0 -#endif - #endif /* __ASSEMBLY__ */ #endif /* _ASM_X86_SMP_H */ |