commit | a8717d280879213eab8383e4a912d99514970e17 | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Fri Feb 27 16:44:38 2015 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Fri Jun 19 18:09:36 2015 +0530 |
tree | 14e104a376497ecb0104a65e7862112f27f175a5 | |
parent | 9b8c7d1e7107c30a50aae27c1f33fe706c8c6c67 [diff] |
ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 0a75f81..b120f3e 100644 --- a/arch/arc/kernel/entry.S +++ b/arch/arc/kernel/entry.S
@@ -505,8 +505,8 @@ EXCEPTION_PROLOGUE ;------- (4) What caused the Trap -------------- - lr r12, [ecr] - bmsk.f 0, r12, 7 + lr r10, [ecr] + bmsk.f 0, r10, 7 bnz trap_with_param ; ======= (5a) Trap is due to System Call ========