diff options
author | Jayachandran C <jchandra@broadcom.com> | 2013-06-10 02:41:04 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-13 11:46:42 -0400 |
commit | 919f9abb3723f088290c62648b12fbfc7600d923 (patch) | |
tree | 00d1373418b59a086874a31a9cb5fefb16985cb9 /arch/mips/netlogic/common/smpboot.S | |
parent | 53c832197f3adc5a360336f75fe34a95fe2d796b (diff) |
MIPS: Netlogic: move cpu_ready array to boot area
Move the nlm_cpu_ready[] array used by the cpu wakeup code to the
boot area, along with rest of the boot parameter code.
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5425/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/common/smpboot.S')
-rw-r--r-- | arch/mips/netlogic/common/smpboot.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/netlogic/common/smpboot.S b/arch/mips/netlogic/common/smpboot.S index 7c7e884f8912..6029d1b37f88 100644 --- a/arch/mips/netlogic/common/smpboot.S +++ b/arch/mips/netlogic/common/smpboot.S | |||
@@ -109,8 +109,9 @@ NESTED(nlm_rmiboot_preboot, 16, sp) | |||
109 | andi t2, t0, 0x3 /* thread num */ | 109 | andi t2, t0, 0x3 /* thread num */ |
110 | sll t0, 2 /* offset in cpu array */ | 110 | sll t0, 2 /* offset in cpu array */ |
111 | 111 | ||
112 | PTR_LA t1, nlm_cpu_ready /* mark CPU ready */ | 112 | li t3, CKSEG1ADDR(RESET_DATA_PHYS) |
113 | PTR_ADDU t1, t0 | 113 | ADDIU t1, t3, BOOT_CPU_READY |
114 | ADDU t1, t0 | ||
114 | li t3, 1 | 115 | li t3, 1 |
115 | sw t3, 0(t1) | 116 | sw t3, 0(t1) |
116 | 117 | ||