diff options
Diffstat (limited to 'arch/arm26')
-rw-r--r-- | arch/arm26/kernel/vmlinux-arm26-xip.lds.in | 2 | ||||
-rw-r--r-- | arch/arm26/kernel/vmlinux-arm26.lds.in | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm26/kernel/vmlinux-arm26-xip.lds.in b/arch/arm26/kernel/vmlinux-arm26-xip.lds.in index ca61ec8218fe..046a85054018 100644 --- a/arch/arm26/kernel/vmlinux-arm26-xip.lds.in +++ b/arch/arm26/kernel/vmlinux-arm26-xip.lds.in | |||
@@ -46,10 +46,12 @@ SECTIONS | |||
46 | __con_initcall_start = .; | 46 | __con_initcall_start = .; |
47 | *(.con_initcall.init) | 47 | *(.con_initcall.init) |
48 | __con_initcall_end = .; | 48 | __con_initcall_end = .; |
49 | #ifdef CONFIG_BLK_DEV_INITRD | ||
49 | . = ALIGN(32); | 50 | . = ALIGN(32); |
50 | __initramfs_start = .; | 51 | __initramfs_start = .; |
51 | usr/built-in.o(.init.ramfs) | 52 | usr/built-in.o(.init.ramfs) |
52 | __initramfs_end = .; | 53 | __initramfs_end = .; |
54 | #endif | ||
53 | . = ALIGN(32768); | 55 | . = ALIGN(32768); |
54 | __init_end = .; | 56 | __init_end = .; |
55 | } | 57 | } |
diff --git a/arch/arm26/kernel/vmlinux-arm26.lds.in b/arch/arm26/kernel/vmlinux-arm26.lds.in index d1d3418d7eb6..1d2949e83be8 100644 --- a/arch/arm26/kernel/vmlinux-arm26.lds.in +++ b/arch/arm26/kernel/vmlinux-arm26.lds.in | |||
@@ -47,10 +47,12 @@ SECTIONS | |||
47 | __con_initcall_start = .; | 47 | __con_initcall_start = .; |
48 | *(.con_initcall.init) | 48 | *(.con_initcall.init) |
49 | __con_initcall_end = .; | 49 | __con_initcall_end = .; |
50 | #ifdef CONFIG_BLK_DEV_INITRD | ||
50 | . = ALIGN(32); | 51 | . = ALIGN(32); |
51 | __initramfs_start = .; | 52 | __initramfs_start = .; |
52 | usr/built-in.o(.init.ramfs) | 53 | usr/built-in.o(.init.ramfs) |
53 | __initramfs_end = .; | 54 | __initramfs_end = .; |
55 | #endif | ||
54 | . = ALIGN(32768); | 56 | . = ALIGN(32768); |
55 | __init_end = .; | 57 | __init_end = .; |
56 | } | 58 | } |