ARC: Remove explicit passing around of ECR
authorVineet Gupta <vgupta@synopsys.com>
Wed, 12 Jun 2013 09:43:40 +0000 (15:13 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 26 Jun 2013 10:00:50 +0000 (15:30 +0530)
commit38a9ff6d247cf9afcbe55ea245b650b8955029fd
treec2603e639b98463ebc1b2de95dcbfffd338c8138
parent502a0c775c7f0a01065e0d078e06c0440b86a11a
ARC: Remove explicit passing around of ECR

With ECR now part of pt_regs

* No need to propagate from lowest asm handlers as arg
* No need to save it in tsk->thread.cause_code
* Avoid bit chopping to access the bit-fields

More code consolidation, cleanup

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
13 files changed:
arch/arc/include/asm/bug.h
arch/arc/include/asm/kgdb.h
arch/arc/include/asm/kprobes.h
arch/arc/include/asm/processor.h
arch/arc/include/asm/unaligned.h
arch/arc/kernel/entry.S
arch/arc/kernel/kgdb.c
arch/arc/kernel/kprobes.c
arch/arc/kernel/traps.c
arch/arc/kernel/troubleshoot.c
arch/arc/kernel/unaligned.c
arch/arc/mm/fault.c
arch/arc/mm/tlbex.S