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