diff options
Diffstat (limited to 'include/asm-x86_64/smp.h')
-rw-r--r-- | include/asm-x86_64/smp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86_64/smp.h b/include/asm-x86_64/smp.h index 498fbc1fc179..58b5d6149a42 100644 --- a/include/asm-x86_64/smp.h +++ b/include/asm-x86_64/smp.h | |||
@@ -66,7 +66,6 @@ static inline int hard_smp_processor_id(void) | |||
66 | return GET_APIC_ID(*(unsigned int *)(APIC_BASE+APIC_ID)); | 66 | return GET_APIC_ID(*(unsigned int *)(APIC_BASE+APIC_ID)); |
67 | } | 67 | } |
68 | 68 | ||
69 | extern int safe_smp_processor_id(void); | ||
70 | extern int __cpu_disable(void); | 69 | extern int __cpu_disable(void); |
71 | extern void __cpu_die(unsigned int cpu); | 70 | extern void __cpu_die(unsigned int cpu); |
72 | extern void prefill_possible_map(void); | 71 | extern void prefill_possible_map(void); |
@@ -100,7 +99,6 @@ static inline int cpu_present_to_apicid(int mps_cpu) | |||
100 | 99 | ||
101 | #ifndef CONFIG_SMP | 100 | #ifndef CONFIG_SMP |
102 | #define stack_smp_processor_id() 0 | 101 | #define stack_smp_processor_id() 0 |
103 | #define safe_smp_processor_id() 0 | ||
104 | #define cpu_logical_map(x) (x) | 102 | #define cpu_logical_map(x) (x) |
105 | #else | 103 | #else |
106 | #include <asm/thread_info.h> | 104 | #include <asm/thread_info.h> |