Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock
[pandora-kernel.git] / arch / arm / boot / compressed / head.S
index 9f5ac11..c2effc9 100644 (file)
@@ -269,7 +269,8 @@ 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