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>
This commit is contained in:

committed by
Ralf Baechle

parent
53c832197f
commit
919f9abb37
@@ -109,8 +109,9 @@ NESTED(nlm_rmiboot_preboot, 16, sp)
|
||||
andi t2, t0, 0x3 /* thread num */
|
||||
sll t0, 2 /* offset in cpu array */
|
||||
|
||||
PTR_LA t1, nlm_cpu_ready /* mark CPU ready */
|
||||
PTR_ADDU t1, t0
|
||||
li t3, CKSEG1ADDR(RESET_DATA_PHYS)
|
||||
ADDIU t1, t3, BOOT_CPU_READY
|
||||
ADDU t1, t0
|
||||
li t3, 1
|
||||
sw t3, 0(t1)
|
||||
|
||||
|
Reference in New Issue
Block a user