diff options
-rw-r--r-- | arch/x86_64/kernel/vmlinux.lds.S | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S index 2802aa963fa3..d0564f1bcb0b 100644 --- a/arch/x86_64/kernel/vmlinux.lds.S +++ b/arch/x86_64/kernel/vmlinux.lds.S | |||
@@ -216,14 +216,12 @@ SECTIONS | |||
216 | __initramfs_start = .; | 216 | __initramfs_start = .; |
217 | .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) } | 217 | .init.ramfs : AT(ADDR(.init.ramfs) - LOAD_OFFSET) { *(.init.ramfs) } |
218 | __initramfs_end = .; | 218 | __initramfs_end = .; |
219 | /* temporary here to work around NR_CPUS. If you see this comment in 2.6.17+ | 219 | . = ALIGN(CONFIG_X86_L1_CACHE_BYTES); |
220 | complain */ | ||
221 | . = ALIGN(4096); | ||
222 | __init_end = .; | ||
223 | . = ALIGN(CONFIG_X86_L1_CACHE_BYTES); | ||
224 | __per_cpu_start = .; | 220 | __per_cpu_start = .; |
225 | .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) } | 221 | .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { *(.data.percpu) } |
226 | __per_cpu_end = .; | 222 | __per_cpu_end = .; |
223 | . = ALIGN(4096); | ||
224 | __init_end = .; | ||
227 | 225 | ||
228 | . = ALIGN(4096); | 226 | . = ALIGN(4096); |
229 | __nosave_begin = .; | 227 | __nosave_begin = .; |