From: Sam Ravnborg Date: Wed, 30 Jan 2008 12:33:28 +0000 (+0100) Subject: x86: fix Section mismatch: reference to .init.text:lguest_entry X-Git-Tag: v2.6.25-rc1~1143^2~200 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8b2f7ffffe7f247ba237322fee78c528ba88f16b;p=linux-2.6-omap-h63xx.git x86: fix Section mismatch: reference to .init.text:lguest_entry fix: > WARNING: vmlinux.o(.data+0x4): Section mismatch: reference to .init.text:lguest_entry (between 'subarch_entries' and 'stack_start') Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index a2b6331434d..5d8c5730686 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -9,6 +9,7 @@ .text #include +#include #include #include #include @@ -151,7 +152,9 @@ WEAK(xen_entry) /* Unknown implementation; there's really nothing we can do at this point. */ ud2a -.data + + __INITDATA + subarch_entries: .long default_entry /* normal x86/PC */ .long lguest_entry /* lguest hypervisor */