]> git.baikalelectronics.ru Git - 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)
commit6ac63b27407435dc6a96bfd49d70e38bbdb96920
tree64c90d95f734fc75ded54103e9c94ab23e35bc71
parent13d68b00751996a566df329d2eed7fa5a3128999
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