Re: build #344 issue for v2.6.24-rc8-74-ga7da60f Section mismatch: reference to .init.text:lguest_entry

From: Toralf Förster
Date: Sun Jan 20 2008 - 12:52:24 EST


Am Sonntag, 20. Januar 2008 schrieb Sam Ravnborg:
> Different issue. Untested patch below.
>
> Sam
> diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
> index fbad51f..f0cacff 100644
> --- a/arch/x86/kernel/head_32.S
> +++ b/arch/x86/kernel/head_32.S
> @@ -9,6 +9,7 @@
>
> .text
> #include <linux/threads.h>
> +#include <linux/init.h>
> #include <linux/linkage.h>
> #include <asm/segment.h>
> #include <asm/page.h>
> @@ -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 */
>


works fine :-)

--
MfG/Sincerely

Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

Attachment: signature.asc
Description: This is a digitally signed message part.