ARM: 7379/1: DT: fix atags_to_fdt() second call site
[linux-flexiantxendom0.git] / arch / arm / boot / compressed / head.S
index 9f5ac11..9c18ebd 100644 (file)
@@ -269,10 +269,11 @@ restart:  adr     r0, LC0
                 * of RAM and hope for the best.
                 */
                cmp     r0, #1
-               sub     r0, r4, #(TEXT_OFFSET - 0x100)
+               sub     r0, r4, #TEXT_OFFSET
+               add     r0, r0, #0x100
                mov     r1, r6
                sub     r2, sp, r6
-               blne    atags_to_fdt
+               bleq    atags_to_fdt
 
                ldmfd   sp!, {r0-r3, ip, lr}
                sub     sp, sp, #0x10000