diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 0a75f81e285307038949d00059f49087c4e6ba8f..b120f3e1e13e6f6c739eebd40348e27f2a7a4c68 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 ========