diff options
Diffstat (limited to 'include/asm-powerpc/smp.h')
-rw-r--r-- | include/asm-powerpc/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/smp.h b/include/asm-powerpc/smp.h index d037f50580e2..19102bfc14ca 100644 --- a/include/asm-powerpc/smp.h +++ b/include/asm-powerpc/smp.h | |||
@@ -45,7 +45,7 @@ void generic_mach_cpu_die(void); | |||
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | #ifdef CONFIG_PPC64 | 47 | #ifdef CONFIG_PPC64 |
48 | #define raw_smp_processor_id() (get_paca()->paca_index) | 48 | #define raw_smp_processor_id() (local_paca->paca_index) |
49 | #define hard_smp_processor_id() (get_paca()->hw_cpu_id) | 49 | #define hard_smp_processor_id() (get_paca()->hw_cpu_id) |
50 | #else | 50 | #else |
51 | /* 32-bit */ | 51 | /* 32-bit */ |