x86, vmlinux.lds: fix relocatable symbols
authorIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 10:56:58 +0000 (12:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 11:01:18 +0000 (13:01 +0200)
commitfd0731944333db6e9e91b6954c6ef95f4b71ab04
tree81e2e58f2d00157ff5f37beb1c34effdb258f8d8
parent91fd7fe809bdf4d8aa56559d17b9f25a1a6fe732
x86, vmlinux.lds: fix relocatable symbols

__init_begin/_end symbols should be inside sections as well,
otherwise the relocatable kernel gets confused when freeing
init sections in the wrong place.

[ Impact: fix bootup crash ]

Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Tim Abbott <tabbott@MIT.EDU>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <20090429105056.GA28720@uranus.ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/vmlinux.lds.S