From: "Mike Frysinger" <vapier.adi@gmail.com>
To: arjan@linux.intel.com
Cc: "Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: init_post() calling prepare_namespace() causes troubles
Date: Fri, 12 Sep 2008 11:16:14 -0400 [thread overview]
Message-ID: <8bd0f97a0809120816l30720d4xb4647d902edcf657@mail.gmail.com> (raw)
with this commit:
commit db62cd29f9b9142c19c574ca00916f66ff22ed4a
Author: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun Jul 20 13:01:28 2008 -0700
fastboot: retry mounting the root fs if we can't find init
we end up with this build failure:
WARNING: init/built-in.o(.text+0x234): Section mismatch in reference
from the function _init_post() to the function
.init.text:_prepare_namespace()
The function _init_post() references
the function __init _prepare_namespace().
This is often because _init_post lacks a __init
annotation or the annotation of _prepare_namespace is wrong.
looking at init_post(), the first thing we do is free_initmem(), so
calling prepare_namespace() after that point looks like it isnt going
to work ... unless there's some magic with initmem_now_dynamic that
i'm not aware of, in which case init_post() needs __init_refok
markings ...
-mike
reply other threads:[~2008-09-12 15:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=8bd0f97a0809120816l30720d4xb4647d902edcf657@mail.gmail.com \
--to=vapier.adi@gmail.com \
--cc=arjan@linux.intel.com \
--cc=linux-kernel@vger.kernel.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®