diff options
Diffstat (limited to 'arch/x86_64/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/x86_64/kernel/vmlinux.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S index 1e54ddf2338d..c360c4225244 100644 --- a/arch/x86_64/kernel/vmlinux.lds.S +++ b/arch/x86_64/kernel/vmlinux.lds.S | |||
@@ -192,10 +192,14 @@ SECTIONS | |||
192 | from .altinstructions and .eh_frame */ | 192 | from .altinstructions and .eh_frame */ |
193 | .exit.text : AT(ADDR(.exit.text) - LOAD_OFFSET) { *(.exit.text) } | 193 | .exit.text : AT(ADDR(.exit.text) - LOAD_OFFSET) { *(.exit.text) } |
194 | .exit.data : AT(ADDR(.exit.data) - LOAD_OFFSET) { *(.exit.data) } | 194 | .exit.data : AT(ADDR(.exit.data) - LOAD_OFFSET) { *(.exit.data) } |
195 | |||
196 | #ifdef CONFIG_BLK_DEV_INITRD | ||
195 | . = ALIGN(4096); | 197 | . = ALIGN(4096); |
196 | __initramfs_start = .; | 198 | __initramfs_start = .; |
197 | .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) } | 199 | .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) } |
198 | __initramfs_end = .; | 200 | __initramfs_end = .; |
201 | #endif | ||
202 | |||
199 | . = ALIGN(CONFIG_X86_L1_CACHE_BYTES); | 203 | . = ALIGN(CONFIG_X86_L1_CACHE_BYTES); |
200 | __per_cpu_start = .; | 204 | __per_cpu_start = .; |
201 | .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) } | 205 | .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) } |