commit | 5a343b9fe22995c43b1209b0b63ea0fa2824cbae | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Sat Mar 28 21:36:00 2015 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Fri Jun 19 18:09:40 2015 +0530 |
tree | bd3003a3ea4d86d868a03261a74a7f27f9781d90 | |
parent | c80417b61200072968225e2bed71ed699859a4a3 [diff] |
ARC: entry.S: [arcompact] simplify SWITCH_TO_KERNEL_STK Previously this macro was overloaded with stack switching, saving SP at right slot in pt_regs, saving/setup of r25 and setting SP baseline to where pt_regs->sp is saved (vs. bottom of pt_regs) Now it only does SP switch, and leaves SP pointing to bottom of pt_regs. r25 saving is no longer done here to allow for future reordering of regfile in pt_regs w/o touching this macro Signed-off-by: Vineet Gupta <vgupta@synopsys.com>