ARC: entry.S: [arcompact] simplify SWITCH_TO_KERNEL_STK
authorVineet Gupta <vgupta@synopsys.com>
Sat, 28 Mar 2015 16:06:00 +0000 (21:36 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:40 +0000 (18:09 +0530)
commit5a343b9fe22995c43b1209b0b63ea0fa2824cbae
treebd3003a3ea4d86d868a03261a74a7f27f9781d90
parentc80417b61200072968225e2bed71ed699859a4a3
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>
arch/arc/include/asm/entry-compact.h