arm64/setjmp: Add missing move for arg1 == 0 case.

This commit is contained in:
Vladimir Serbinenko 2016-01-07 21:10:05 +01:00
parent 9efd79f376
commit e4c49cab9b
1 changed files with 1 additions and 0 deletions

View File

@ -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