]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision
authorVineet Gupta <vgupta@synopsys.com>
Fri, 27 Feb 2015 11:14:38 +0000 (16:44 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:36 +0000 (18:09 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/entry.S

index 0a75f81e285307038949d00059f49087c4e6ba8f..b120f3e1e13e6f6c739eebd40348e27f2a7a4c68 100644 (file)
@@ -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 ========