Re: Section mismatch: reference to .init.text: (between 'kthreadd'and 'init_waitqueue_head')

From: Satyam Sharma
Date: Thu Aug 02 2007 - 06:23:17 EST




On Thu, 2 Aug 2007, John Sigler wrote:

> Hello,
>
> I'm trying to build a 2.6.22.1-rt9 kernel for a P3.
>
> I used 'make xconfig' to create .config
> http://linux.kernel.free.fr/latency/config-2.6.22.1-rt9-adlink
>
> I get the following warning:
>
> LD vmlinux
> SYSMAP System.map
> SYSMAP .tmp_System.map
> MODPOST vmlinux
> WARNING: kernel/built-in.o(.text+0x19152): Section mismatch: reference to
> .init.text: (between 'kthreadd' and 'init_waitqueue_head')

This is a bogus warning, already taken care of in 2.6.23-rc1-latestgit.

> Finally, I note that X86_CMPXCHG64 is no longer defined since its
> specification was changed between 2.6.20 and 2.6.22.
>
> config X86_CMPXCHG64
> bool
> - depends on !M386 && !M486
> + depends on X86_PAE
> default y
>
> Will this have an impact on spinlocks? RCU? something else?

No idea about this one.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/