summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/unaligned.c
diff options
context:
space:
mode:
authorVineet Gupta2013-06-12 11:43:40 +0200
committerVineet Gupta2013-06-26 12:00:50 +0200
commit38a9ff6d247cf9afcbe55ea245b650b8955029fd (patch)
treec2603e639b98463ebc1b2de95dcbfffd338c8138 /arch/arc/kernel/unaligned.c
parentARC: pt_regs update #5: Use real ECR for pt_regs->event vs. synth values (diff)
downloadkernel-qcow2-linux-38a9ff6d247cf9afcbe55ea245b650b8955029fd.tar.gz
kernel-qcow2-linux-38a9ff6d247cf9afcbe55ea245b650b8955029fd.tar.xz
kernel-qcow2-linux-38a9ff6d247cf9afcbe55ea245b650b8955029fd.zip
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>
Diffstat (limited to 'arch/arc/kernel/unaligned.c')
-rw-r--r--arch/arc/kernel/unaligned.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/unaligned.c b/arch/arc/kernel/unaligned.c
index 4cd81633febd..c0f832f595d3 100644
--- a/arch/arc/kernel/unaligned.c
+++ b/arch/arc/kernel/unaligned.c
@@ -187,7 +187,7 @@ fault: state->fault = 1;
* Returns 0 if successfully handled, 1 if some error happened
*/
int misaligned_fixup(unsigned long address, struct pt_regs *regs,
- unsigned long cause, struct callee_regs *cregs)
+ struct callee_regs *cregs)
{
struct disasm_state state;
char buf[TASK_COMM_LEN];