mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: hpa@zytor.com, akpm@linux-foundation.org,
	linux-kernel@vger.kernel.org, sam@ravnborg.org
Subject: Re: Warning about init section reference in start_kernel (2.6.23-rc4-mm1)
Date: Thu, 6 Sep 2007 13:17:06 -0700	[thread overview]
Message-ID: <20070906131706.376af88b.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20070906194632.GB4518@Krystal>

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 ***

      reply	other threads:[~2007-09-06 20:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06 19:46 Mathieu Desnoyers
2007-09-06 20:17 ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070906131706.376af88b.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@polymtl.ca \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®