]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7cb22647371c7510bbfa44bbb111a1940d73e9a
tree1e680c84ddf182c3e830517f96763c752928a099
parentbd7da1feb52ae740680093bed623d81b0a6e7477
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