diff options
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index 654724c58f5b..d973c11688ce 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -29,10 +29,15 @@ extern int smp_num_siblings; | |||
29 | extern unsigned int num_processors; | 29 | extern unsigned int num_processors; |
30 | extern cpumask_t cpu_initialized; | 30 | extern cpumask_t cpu_initialized; |
31 | 31 | ||
32 | #ifdef CONFIG_SMP | ||
32 | extern u16 x86_cpu_to_apicid_init[]; | 33 | extern u16 x86_cpu_to_apicid_init[]; |
33 | extern u16 x86_bios_cpu_apicid_init[]; | 34 | extern u16 x86_bios_cpu_apicid_init[]; |
34 | extern void *x86_cpu_to_apicid_early_ptr; | 35 | extern void *x86_cpu_to_apicid_early_ptr; |
35 | extern void *x86_bios_cpu_apicid_early_ptr; | 36 | extern void *x86_bios_cpu_apicid_early_ptr; |
37 | #else | ||
38 | #define x86_cpu_to_apicid_early_ptr NULL | ||
39 | #define x86_bios_cpu_apicid_early_ptr NULL | ||
40 | #endif | ||
36 | 41 | ||
37 | DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); | 42 | DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); |
38 | DECLARE_PER_CPU(cpumask_t, cpu_core_map); | 43 | DECLARE_PER_CPU(cpumask_t, cpu_core_map); |