diff options
Diffstat (limited to 'arch/microblaze/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/microblaze/kernel/vmlinux.lds.S | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S index 96a88c31fe48..3451bdec9f05 100644 --- a/arch/microblaze/kernel/vmlinux.lds.S +++ b/arch/microblaze/kernel/vmlinux.lds.S | |||
@@ -123,20 +123,10 @@ SECTIONS { | |||
123 | 123 | ||
124 | __init_end_before_initramfs = .; | 124 | __init_end_before_initramfs = .; |
125 | 125 | ||
126 | .init.ramfs ALIGN(PAGE_SIZE) : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { | 126 | .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { |
127 | __initramfs_start = .; | 127 | INIT_RAM_FS |
128 | *(.init.ramfs) | ||
129 | __initramfs_end = .; | ||
130 | . = ALIGN(4); | ||
131 | LONG(0); | ||
132 | /* | ||
133 | * FIXME this can break initramfs for MMU. | ||
134 | * Pad init.ramfs up to page boundary, | ||
135 | * so that __init_end == __bss_start. This will make image.elf | ||
136 | * consistent with the image.bin | ||
137 | */ | ||
138 | /* . = ALIGN(PAGE_SIZE); */ | ||
139 | } | 128 | } |
129 | |||
140 | __init_end = .; | 130 | __init_end = .; |
141 | 131 | ||
142 | .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) { | 132 | .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) { |