diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v10/vmlinux.lds.S | 4 | ||||
-rw-r--r-- | arch/cris/arch-v32/vmlinux.lds.S | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/cris/arch-v10/vmlinux.lds.S b/arch/cris/arch-v10/vmlinux.lds.S index 689729a7e66e..4b348b38cf33 100644 --- a/arch/cris/arch-v10/vmlinux.lds.S +++ b/arch/cris/arch-v10/vmlinux.lds.S | |||
@@ -82,7 +82,8 @@ SECTIONS | |||
82 | __con_initcall_end = .; | 82 | __con_initcall_end = .; |
83 | } | 83 | } |
84 | SECURITY_INIT | 84 | SECURITY_INIT |
85 | 85 | ||
86 | #ifdef CONFIG_BLK_DEV_INITRD | ||
86 | .init.ramfs : { | 87 | .init.ramfs : { |
87 | __initramfs_start = .; | 88 | __initramfs_start = .; |
88 | *(.init.ramfs) | 89 | *(.init.ramfs) |
@@ -93,6 +94,7 @@ SECTIONS | |||
93 | FILL (0); | 94 | FILL (0); |
94 | . = ALIGN (8192); | 95 | . = ALIGN (8192); |
95 | } | 96 | } |
97 | #endif | ||
96 | 98 | ||
97 | __vmlinux_end = .; /* last address of the physical file */ | 99 | __vmlinux_end = .; /* last address of the physical file */ |
98 | __init_end = .; | 100 | __init_end = .; |
diff --git a/arch/cris/arch-v32/vmlinux.lds.S b/arch/cris/arch-v32/vmlinux.lds.S index 472d4b3c4cf4..e124fcd766d5 100644 --- a/arch/cris/arch-v32/vmlinux.lds.S +++ b/arch/cris/arch-v32/vmlinux.lds.S | |||
@@ -95,6 +95,7 @@ SECTIONS | |||
95 | .data.percpu : { *(.data.percpu) } | 95 | .data.percpu : { *(.data.percpu) } |
96 | __per_cpu_end = .; | 96 | __per_cpu_end = .; |
97 | 97 | ||
98 | #ifdef CONFIG_BLK_DEV_INITRD | ||
98 | .init.ramfs : { | 99 | .init.ramfs : { |
99 | __initramfs_start = .; | 100 | __initramfs_start = .; |
100 | *(.init.ramfs) | 101 | *(.init.ramfs) |
@@ -107,6 +108,7 @@ SECTIONS | |||
107 | FILL (0); | 108 | FILL (0); |
108 | . = ALIGN (8192); | 109 | . = ALIGN (8192); |
109 | } | 110 | } |
111 | #endif | ||
110 | 112 | ||
111 | __vmlinux_end = .; /* Last address of the physical file. */ | 113 | __vmlinux_end = .; /* Last address of the physical file. */ |
112 | __init_end = .; | 114 | __init_end = .; |