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)
commit62fb64034d30293448de10a48c7ee47ee978e338
tree29cad87e376821c563b2d93e7e8fb634f41af705
parentc7e6d7920409c11f158ac5d38bdd08062bf16978
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