arm64: move early boot code to the .init segment
[cascardo/linux.git] / arch / arm64 / kernel / efi-entry.S
index cae3112..e88c064 100644 (file)
@@ -62,7 +62,7 @@ ENTRY(entry)
         */
        mov     x20, x0         // DTB address
        ldr     x0, [sp, #16]   // relocated _text address
-       movz    x21, #:abs_g0:stext_offset
+       ldr     w21, =stext_offset
        add     x21, x0, x21
 
        /*