]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86_64: Squash initial_code modpost warnings
authorAndi Kleen <ak@suse.de>
Sun, 22 Jul 2007 09:12:45 +0000 (11:12 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 18:03:38 +0000 (11:03 -0700)
commit92417df076f75738ae22956f7ea1b9b98f59fa7a
treea1ec6f7d7fd2c81a10e5425f22ddf63d16f9f68f
parentdec2e6b7aa5d45bc3508e19907a7716b0c5307e5
x86_64: Squash initial_code modpost warnings

Get rid of warnings like

WARNING: vmlinux.o(.bootstrap.text+0x1a8): Section mismatch: reference to .init.text:x86_64_start_kernel (between 'initial_code' and 'init_rsp')

- Move initialization code into .text.head like i386 because modpost knows about this already
- Mark initial_code .initdata

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/head.S
arch/x86_64/kernel/vmlinux.lds.S