summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc64/smp.h b/include/asm-ppc64/smp.h
index 40627b49f31c..cac758f686e4 100644
--- a/include/asm-ppc64/smp.h
+++ b/include/asm-ppc64/smp.h
@@ -63,7 +63,7 @@ extern int query_cpu_stopped(unsigned int pcpu);
#define get_hard_smp_processor_id(CPU) (paca[(CPU)].hw_cpu_id)
#define set_hard_smp_processor_id(CPU, VAL) \
- do { (paca[(CPU)].hw_proc_num = (VAL)); } while (0)
+ do { (paca[(CPU)].hw_cpu_id = (VAL)); } while (0)
#endif /* __ASSEMBLY__ */