summaryrefslogtreecommitdiff
path: root/arch/arc/kernel/troubleshoot.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-12 09:43:40 (GMT)
committerVineet Gupta <vgupta@synopsys.com>2013-06-26 10:00:50 (GMT)
commit38a9ff6d247cf9afcbe55ea245b650b8955029fd (patch)
treec2603e639b98463ebc1b2de95dcbfffd338c8138 /arch/arc/kernel/troubleshoot.c
parent502a0c775c7f0a01065e0d078e06c0440b86a11a (diff)
downloadlinux-fsl-qoriq-38a9ff6d247cf9afcbe55ea245b650b8955029fd.tar.xz
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/troubleshoot.c')
-rw-r--r--arch/arc/kernel/troubleshoot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/kernel/troubleshoot.c
index 9774641..7f85bc3 100644
--- a/arch/arc/kernel/troubleshoot.c
+++ b/arch/arc/kernel/troubleshoot.c
@@ -209,10 +209,9 @@ void show_regs(struct pt_regs *regs)
}
void show_kernel_fault_diag(const char *str, struct pt_regs *regs,
- unsigned long address, unsigned long cause_reg)
+ unsigned long address)
{
current->thread.fault_address = address;
- current->thread.cause_code = cause_reg;
/* Caller and Callee regs */
show_regs(regs);