diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-04-29 03:47:28 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 04:20:34 -0400 |
commit | 9d16e78318f174fd4b07916a93e41749d5199267 (patch) | |
tree | ca6c0cdbd651aeef4df3b0d6c2b9c05c0e8cbebd /arch/x86/kernel/vmlinux_32.lds.S | |
parent | bf6a57418d5445c98047edbec022c9e54d1526e6 (diff) |
x86, vmlinux.lds: unify percpu
32 bit:
- move __init_end outside the .bss output section
It really did not belong in there
[ Impact: 64-bit: cleanup, 32-bit: refactor linker script ]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Tim Abbott <tabbott@MIT.EDU>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <1240991249-27117-12-git-send-email-sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/vmlinux_32.lds.S')
-rw-r--r-- | arch/x86/kernel/vmlinux_32.lds.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/vmlinux_32.lds.S b/arch/x86/kernel/vmlinux_32.lds.S index 36c8fbd3c762..d23ee2c15c28 100644 --- a/arch/x86/kernel/vmlinux_32.lds.S +++ b/arch/x86/kernel/vmlinux_32.lds.S | |||
@@ -1,11 +1,5 @@ | |||
1 | PERCPU(PAGE_SIZE) | ||
2 | |||
3 | . = ALIGN(PAGE_SIZE); | ||
4 | /* freed after init ends here */ | ||
5 | |||
6 | /* BSS */ | 1 | /* BSS */ |
7 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { | 2 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { |
8 | __init_end = .; | ||
9 | __bss_start = .; | 3 | __bss_start = .; |
10 | *(.bss.page_aligned) | 4 | *(.bss.page_aligned) |
11 | *(.bss) | 5 | *(.bss) |