diff options
-rw-r--r-- | include/asm-x86/smp_64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h index eead92e30b29..8ea49529f324 100644 --- a/include/asm-x86/smp_64.h +++ b/include/asm-x86/smp_64.h | |||
@@ -27,12 +27,12 @@ static inline int num_booting_cpus(void) | |||
27 | return cpus_weight(cpu_callout_map); | 27 | return cpus_weight(cpu_callout_map); |
28 | } | 28 | } |
29 | 29 | ||
30 | #define safe_smp_processor_id() smp_processor_id() | ||
30 | #else /* CONFIG_SMP */ | 31 | #else /* CONFIG_SMP */ |
31 | #define stack_smp_processor_id() 0 | 32 | #define stack_smp_processor_id() 0 |
32 | 33 | #define safe_smp_processor_id() 0 | |
33 | #endif /* !CONFIG_SMP */ | 34 | #endif /* !CONFIG_SMP */ |
34 | 35 | ||
35 | #define safe_smp_processor_id() smp_processor_id() | ||
36 | 36 | ||
37 | #endif | 37 | #endif |
38 | 38 | ||