diff options
Diffstat (limited to 'arch/arm/cpu/exceptions_64.S')
-rw-r--r-- | arch/arm/cpu/exceptions_64.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/exceptions_64.S b/arch/arm/cpu/exceptions_64.S index 58ca50b709..22034eaef9 100644 --- a/arch/arm/cpu/exceptions_64.S +++ b/arch/arm/cpu/exceptions_64.S @@ -35,12 +35,15 @@ switch_el x11, 3f, 2f, 1f 3: mrs x1, esr_el3 mrs x2, elr_el3 + mrs x3, far_el3 b 0f 2: mrs x1, esr_el2 mrs x2, elr_el2 + mrs x3, far_el2 b 0f 1: mrs x1, esr_el1 mrs x2, elr_el1 + mrs x3, far_el1 0: stp x2, x0, [sp, #-16]! mov x0, sp @@ -99,6 +102,7 @@ _do_bad_error: _do_sync: exception_entry + mov x2, x3 bl do_sync b exception_exit |