]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: entry.S: micro-optimize Trap handler
authorVineet Gupta <vgupta@synopsys.com>
Fri, 13 Mar 2015 06:20:23 +0000 (11:50 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:39 +0000 (18:09 +0530)
commitf55347e3699cf15a53582c0218ccfb3e1da3e973
tree29cad87e376821c563b2d93e7e8fb634f41af705
parenta9e148fc444aa793300293318497294f8e77b0a2
ARC: entry.S: micro-optimize Trap handler

Elide the need to re-read ECR in Trap handler by ensuring that
EXCEPTION_PROLOGUE does that at the very end just before returning
to Trap handler

ARCv2 EXCEPTION_PROLOGUE already did that, so same for ARcompact and the
common trap handler adjusted to use cached ECR

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