diff options
| author | Paul Mackerras <paulus@samba.org> | 2004-08-30 20:33:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-30 20:33:23 -0700 |
| commit | 4fd4fa10399b9958927454575e2a21585a391af0 (patch) | |
| tree | 806cac38f39631c03d096e3dc5232e398752d327 /include | |
| parent | 815e7a882bf73a75aa9444f103f22433908f805b (diff) | |
[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 <nathanl@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc64/smp.h | 2 |
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__ */ |
