arch/arm64: bug fix,arm64_fatal_handler need regs parms

Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com>
This commit is contained in:
lipengfei28 2024-11-11 21:49:41 +08:00 committed by Xiang Xiao
parent 7ebe59022c
commit d8bdf23e8a

View file

@ -190,6 +190,7 @@ reserved_syscall:
mov sp, x0
b arm64_exit_exception
2:
mov x0, sp
adrp x5, arm64_fatal_handler
add x5, x5, #:lo12:arm64_fatal_handler
br x5