diff options
-rw-r--r-- | arch/x86_64/kernel/vmlinux.lds.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S index d0564f1bcb0b..f8aeccf105fa 100644 --- a/arch/x86_64/kernel/vmlinux.lds.S +++ b/arch/x86_64/kernel/vmlinux.lds.S | |||
@@ -67,13 +67,6 @@ SECTIONS | |||
67 | 67 | ||
68 | _edata = .; /* End of data section */ | 68 | _edata = .; /* End of data section */ |
69 | 69 | ||
70 | __bss_start = .; /* BSS */ | ||
71 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { | ||
72 | *(.bss.page_aligned) | ||
73 | *(.bss) | ||
74 | } | ||
75 | __bss_stop = .; | ||
76 | |||
77 | . = ALIGN(PAGE_SIZE); | 70 | . = ALIGN(PAGE_SIZE); |
78 | . = ALIGN(CONFIG_X86_L1_CACHE_BYTES); | 71 | . = ALIGN(CONFIG_X86_L1_CACHE_BYTES); |
79 | .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET) { | 72 | .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET) { |
@@ -229,6 +222,13 @@ SECTIONS | |||
229 | . = ALIGN(4096); | 222 | . = ALIGN(4096); |
230 | __nosave_end = .; | 223 | __nosave_end = .; |
231 | 224 | ||
225 | __bss_start = .; /* BSS */ | ||
226 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { | ||
227 | *(.bss.page_aligned) | ||
228 | *(.bss) | ||
229 | } | ||
230 | __bss_stop = .; | ||
231 | |||
232 | _end = . ; | 232 | _end = . ; |
233 | 233 | ||
234 | /* Sections to be discarded */ | 234 | /* Sections to be discarded */ |