diff options
Diffstat (limited to 'arch/x86/include/asm/smp.h')
-rw-r--r-- | arch/x86/include/asm/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index 127415402ea1..c7bbbbe65d3f 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h | |||
@@ -160,7 +160,7 @@ extern unsigned disabled_cpus __cpuinitdata; | |||
160 | * from the initial startup. We map APIC_BASE very early in page_setup(), | 160 | * from the initial startup. We map APIC_BASE very early in page_setup(), |
161 | * so this is correct in the x86 case. | 161 | * so this is correct in the x86 case. |
162 | */ | 162 | */ |
163 | #define raw_smp_processor_id() (x86_read_percpu(cpu_number)) | 163 | #define raw_smp_processor_id() (percpu_read(cpu_number)) |
164 | extern int safe_smp_processor_id(void); | 164 | extern int safe_smp_processor_id(void); |
165 | 165 | ||
166 | #elif defined(CONFIG_X86_64_SMP) | 166 | #elif defined(CONFIG_X86_64_SMP) |