]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
arm64/setjmp: Add missing move for arg1 == 0 case.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 Jan 2016 20:10:05 +0000 (21:10 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 Jan 2016 20:10:05 +0000 (21:10 +0100)
grub-core/lib/arm64/setjmp.S

index eabfd99b2966e9854cc9d8d33890ce099123d6c8..ffcabf6e41fa64561ec01d9e7771f407a8330c05 100644 (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