arm64/setjmp: Add missing move for arg1 == 0 case.
This commit is contained in:
parent
9efd79f376
commit
e4c49cab9b
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ FUNCTION(grub_longjmp)
|
|||
ldp x29, x30, [x0], #16
|
||||
ldr x2, [x0]
|
||||
mov sp, x2
|
||||
mov x0, #1
|
||||
cmp x1, #0
|
||||
csel x0, x1, x0, ne
|
||||
ret
|
||||
|
|
Loading…
Reference in a new issue