]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
MIPS: Netlogic: Reduce size of reset code
authorJayachandran C <jchandra@broadcom.com>
Fri, 9 May 2014 11:05:14 +0000 (16:35 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 14:47:56 +0000 (16:47 +0200)
commita3deecfaa36662ca2e2104be3c305236cf03efcc
tree64c90d95f734fc75ded54103e9c94ab23e35bc71
parent2e240ddd09d41645e928a19a3ff3290a0f546834
MIPS: Netlogic: Reduce size of reset code

Update thread wakeup function to use scratch registers for saving SP and
RA. Move the register restore code needed for thread 0 to the calling
function. This reduces the size of code copied to the reset vector.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6910/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/common/reset.S
arch/mips/netlogic/common/smpboot.S