]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
CRIS: Correct address of the romfs in boot image
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 2 Aug 2010 15:48:31 +0000 (17:48 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Wed, 4 Aug 2010 10:59:43 +0000 (12:59 +0200)
The romfs should land after __init_end

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v10/kernel/head.S

index fc4577102933c901be0431424753ac1a7c9b8cc8..a1f2014b4e3b3cae8006c75215f34ecc74688290 100644 (file)
@@ -280,7 +280,7 @@ _no_romfs_in_flash:
        ;; the "rom fs" we'll possibly use in 2.4 if not JFFS (which does
        ;; not need this mechanism anyway)
 
-       move.d  __vmlinux_end, $r0; the image will be after the vmlinux end address
+       move.d  __init_end, $r0; the image will be after the end of init
        move.d  [$r0], $r1      ; cramfs assumes same endian on host/target
        cmp.d   CRAMFS_MAGIC, $r1; magic value in cramfs superblock
        bne     2f