]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/microblaze/kernel/vmlinux.lds.S
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / arch / microblaze / kernel / vmlinux.lds.S
index 96a88c31fe48f412106a7f16780c964fbf0b4e01..3451bdec9f05480e07b754095ea5428e72c72ce3 100644 (file)
@@ -123,20 +123,10 @@ SECTIONS {
 
        __init_end_before_initramfs = .;
 
-       .init.ramfs ALIGN(PAGE_SIZE) : AT(ADDR(.init.ramfs) - LOAD_OFFSET) {
-               __initramfs_start = .;
-               *(.init.ramfs)
-               __initramfs_end = .;
-               . = ALIGN(4);
-               LONG(0);
-/*
- * FIXME this can break initramfs for MMU.
- * Pad init.ramfs up to page boundary,
- * so that __init_end == __bss_start. This will make image.elf
- * consistent with the image.bin
- */
-               /* . = ALIGN(PAGE_SIZE); */
+       .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) {
+               INIT_RAM_FS
        }
+
        __init_end = .;
 
        .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) {