ARC: Exception Handlers Code consolidation
authorVineet Gupta <vgupta@synopsys.com>
Tue, 9 Jul 2013 09:37:13 +0000 (15:07 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 26 Aug 2013 04:10:25 +0000 (09:40 +0530)
commit37f3ac498c988536f0d42b4659fb5d2c050b2f96
tree1e680c84ddf182c3e830517f96763c752928a099
parentfe240f11cdab5831d0c4c1ecbaab00b7d302f295
ARC: Exception Handlers Code consolidation

After the recent cleanups, all the exception handlers now have same
boilerplate prologue code. Move that into common macro.

This reduces readability but helps greatly with sharing / duplicating
entry code with ARCv2 ISA where the handlers are pretty much the same,
just the entry prologue is different (due to hardware assist).

Also while at it, add the missing FAKE_RET_FROM_EXCPN calls in couple of
places to drop down to pure kernel mode (from exception mode) before
jumping off into "C" code.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/entry.h
arch/arc/kernel/entry.S
arch/arc/mm/tlbex.S
This page took 0.041924 seconds and 5 git commands to generate.