aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/smp.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/asm-powerpc/smp.h2
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);
#endif
#ifdef CONFIG_PPC64
-#define raw_smp_processor_id() (get_paca()->paca_index)
+#define raw_smp_processor_id() (local_paca->paca_index)
#define hard_smp_processor_id() (get_paca()->hw_cpu_id)
#else
/* 32-bit */