aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/kernel/entry.S')
-rw-r--r--arch/arm64/kernel/entry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S
index a7691a378668..f860bfda454a 100644
--- a/arch/arm64/kernel/entry.S
+++ b/arch/arm64/kernel/entry.S
@@ -352,8 +352,8 @@ el1_inv:
352 // TODO: add support for undefined instructions in kernel mode 352 // TODO: add support for undefined instructions in kernel mode
353 enable_dbg 353 enable_dbg
354 mov x0, sp 354 mov x0, sp
355 mov x2, x1
355 mov x1, #BAD_SYNC 356 mov x1, #BAD_SYNC
356 mrs x2, esr_el1
357 b bad_mode 357 b bad_mode
358ENDPROC(el1_sync) 358ENDPROC(el1_sync)
359 359
@@ -553,7 +553,7 @@ el0_inv:
553 ct_user_exit 553 ct_user_exit
554 mov x0, sp 554 mov x0, sp
555 mov x1, #BAD_SYNC 555 mov x1, #BAD_SYNC
556 mrs x2, esr_el1 556 mov x2, x25
557 bl bad_mode 557 bl bad_mode
558 b ret_to_user 558 b ret_to_user
559ENDPROC(el0_sync) 559ENDPROC(el0_sync)