[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070906131706.376af88b.randy.dunlap@oracle.com>
Date: Thu, 6 Sep 2007 13:17:06 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc: hpa@...or.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, sam@...nborg.org
Subject: Re: Warning about init section reference in start_kernel
(2.6.23-rc4-mm1)
On Thu, 6 Sep 2007 15:46:32 -0400 Mathieu Desnoyers wrote:
> Hi Peter,
>
> I have seen the following warning on the recent -mm kernels when
> compiling a i386 kernel:
>
> scripts/mod/modpost -o /home/compudj/git/morestable/linux-2.6-lttng/Module.symvers vmlinux.o
> WARNING: vmlinux.o(.text.head+0x223): Section mismatch: reference to .init.text.1:start_kernel (between 'is386' and 'check_x87')
>
> It looks like head.S jumps to start_kernel at the end of is386. Is this
> ok and valid ? If yes, then I guess modpost should be updated.
[added Sam]
This has come up several times. Yes, it's OK.
If we could add __init_refok to is386 in head.S, this problem would
be fixed, but afaik we cannot do that.
Or modpost could have special knowledge of this one quirk, but that's
not desirable either.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists