ARC: [plat-eznps] handle extra aux regs #1: save/restore on context switch
authorNoam Camus <noamc@ezchip.com>
Thu, 15 Jun 2017 08:43:59 +0000 (11:43 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 28 Aug 2017 22:17:36 +0000 (15:17 -0700)
commit5b2189ab6ee0717babac912f779dcd440e942173
treebbca2deb857ba309aa67aa71d7d74700d823290a
parent3f9cd874dcc8705b53c03431f0ae46c94e572349
ARC: [plat-eznps] handle extra aux regs #1: save/restore on context switch

save EFLAGS, and GPA1 auxiliary registers during context switch,
since they may be changed by the new task in kernel mode, while using atomic
ops e.g. cmpxchg.

Signed-off-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/processor.h
arch/arc/include/asm/switch_to.h
arch/arc/plat-eznps/Makefile
arch/arc/plat-eznps/ctop.c [new file with mode: 0644]