diff options
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/kernel/vmlinux-std.lds | 2 | ||||
-rw-r--r-- | arch/m68k/kernel/vmlinux-sun3.lds | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/kernel/vmlinux-std.lds b/arch/m68k/kernel/vmlinux-std.lds index d2794452b195..437b4f8d86c5 100644 --- a/arch/m68k/kernel/vmlinux-std.lds +++ b/arch/m68k/kernel/vmlinux-std.lds | |||
@@ -61,10 +61,12 @@ SECTIONS | |||
61 | .con_initcall.init : { *(.con_initcall.init) } | 61 | .con_initcall.init : { *(.con_initcall.init) } |
62 | __con_initcall_end = .; | 62 | __con_initcall_end = .; |
63 | SECURITY_INIT | 63 | SECURITY_INIT |
64 | #ifdef CONFIG_BLK_DEV_INITRD | ||
64 | . = ALIGN(8192); | 65 | . = ALIGN(8192); |
65 | __initramfs_start = .; | 66 | __initramfs_start = .; |
66 | .init.ramfs : { *(.init.ramfs) } | 67 | .init.ramfs : { *(.init.ramfs) } |
67 | __initramfs_end = .; | 68 | __initramfs_end = .; |
69 | #endif | ||
68 | . = ALIGN(8192); | 70 | . = ALIGN(8192); |
69 | __init_end = .; | 71 | __init_end = .; |
70 | 72 | ||
diff --git a/arch/m68k/kernel/vmlinux-sun3.lds b/arch/m68k/kernel/vmlinux-sun3.lds index 8c7eccbfc982..2868e206fc76 100644 --- a/arch/m68k/kernel/vmlinux-sun3.lds +++ b/arch/m68k/kernel/vmlinux-sun3.lds | |||
@@ -55,10 +55,12 @@ __init_begin = .; | |||
55 | .con_initcall.init : { *(.con_initcall.init) } | 55 | .con_initcall.init : { *(.con_initcall.init) } |
56 | __con_initcall_end = .; | 56 | __con_initcall_end = .; |
57 | SECURITY_INIT | 57 | SECURITY_INIT |
58 | #ifdef CONFIG_BLK_DEV_INITRD | ||
58 | . = ALIGN(8192); | 59 | . = ALIGN(8192); |
59 | __initramfs_start = .; | 60 | __initramfs_start = .; |
60 | .init.ramfs : { *(.init.ramfs) } | 61 | .init.ramfs : { *(.init.ramfs) } |
61 | __initramfs_end = .; | 62 | __initramfs_end = .; |
63 | #endif | ||
62 | . = ALIGN(8192); | 64 | . = ALIGN(8192); |
63 | __init_end = .; | 65 | __init_end = .; |
64 | .data.init.task : { *(.data.init_task) } | 66 | .data.init.task : { *(.data.init_task) } |