diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-02-27 12:14:38 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-19 14:39:36 +0200 |
commit | a8717d280879213eab8383e4a912d99514970e17 (patch) | |
tree | 14e104a376497ecb0104a65e7862112f27f175a5 /arch/arc | |
parent | ARC: entry.S: FAKE_RET_FROM_EXCPN can always use r9 (diff) | |
download | linux-a8717d280879213eab8383e4a912d99514970e17.tar.xz linux-a8717d280879213eab8383e4a912d99514970e17.zip |
ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/kernel/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 0a75f81e2853..b120f3e1e13e 100644 --- a/arch/arc/kernel/entry.S +++ b/arch/arc/kernel/entry.S @@ -505,8 +505,8 @@ ENTRY(EV_Trap) 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 ======== |