OSDN Git Service

ARC: K/U SP saved from one location in stack switching macro
authorVineet Gupta <vgupta@synopsys.com>
Mon, 27 May 2013 13:21:27 +0000 (18:51 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 22 Jun 2013 13:53:25 +0000 (19:23 +0530)
commitba3558c772ce1ac64d07f46b8c763349a0e51ba3
treee89141966f881bc363b5952b6f216ebbd69b4501
parent147aece29b15051173eb1e767018135361cdba89
ARC: K/U SP saved from one location in stack switching macro

This paves way for further simplifications.

There's an overhead of 1 insn for the non-common case of interrupt taken
from kernel mode.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/entry.h