From 4fd4fa10399b9958927454575e2a21585a391af0 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Mon, 30 Aug 2004 20:33:23 -0700 Subject: [PATCH] ppc64: set platform cpuids later in boot Move the initialization of the per-cpu paca->hw_cpu_id out of the Open Firmware client boot code and into a common location which is executed later. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-ppc64/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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__ */ -- cgit v1.2.3