aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/smp_64.h')
-rw-r--r--include/asm-x86/smp_64.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h
index be870a4881fc..fd709cbba4d1 100644
--- a/include/asm-x86/smp_64.h
+++ b/include/asm-x86/smp_64.h
@@ -22,7 +22,6 @@ extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
22#ifdef CONFIG_SMP 22#ifdef CONFIG_SMP
23 23
24#define raw_smp_processor_id() read_pda(cpunumber) 24#define raw_smp_processor_id() read_pda(cpunumber)
25#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu)
26 25
27#define stack_smp_processor_id() \ 26#define stack_smp_processor_id() \
28 ({ \ 27 ({ \
@@ -41,9 +40,6 @@ static inline int num_booting_cpus(void)
41} 40}
42 41
43#else /* CONFIG_SMP */ 42#else /* CONFIG_SMP */
44
45extern unsigned int boot_cpu_id;
46#define cpu_physical_id(cpu) boot_cpu_id
47#define stack_smp_processor_id() 0 43#define stack_smp_processor_id() 0
48 44
49#endif /* !CONFIG_SMP */ 45#endif /* !CONFIG_SMP */