aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/smp.h')
-rw-r--r--include/asm-i386/smp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/smp.h b/include/asm-i386/smp.h
index 915c26a31b79..6aa1206f6e2a 100644
--- a/include/asm-i386/smp.h
+++ b/include/asm-i386/smp.h
@@ -84,6 +84,7 @@ static inline int hard_smp_processor_id(void)
84#endif 84#endif
85#endif 85#endif
86 86
87extern int safe_smp_processor_id(void);
87extern int __cpu_disable(void); 88extern int __cpu_disable(void);
88extern void __cpu_die(unsigned int cpu); 89extern void __cpu_die(unsigned int cpu);
89extern unsigned int num_processors; 90extern unsigned int num_processors;
@@ -92,6 +93,7 @@ extern unsigned int num_processors;
92 93
93#else /* CONFIG_SMP */ 94#else /* CONFIG_SMP */
94 95
96#define safe_smp_processor_id() 0
95#define cpu_physical_id(cpu) boot_cpu_physical_apicid 97#define cpu_physical_id(cpu) boot_cpu_physical_apicid
96 98
97#define NO_PROC_ID 0xFF /* No processor magic marker */ 99#define NO_PROC_ID 0xFF /* No processor magic marker */