[<prev] [next>] [day] [month] [year] [list]
Message-ID: <8bd0f97a0809120816l30720d4xb4647d902edcf657@mail.gmail.com>
Date: Fri, 12 Sep 2008 11:16:14 -0400
From: "Mike Frysinger" <vapier.adi@...il.com>
To: arjan@...ux.intel.com
Cc: "Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: init_post() calling prepare_namespace() causes troubles
with this commit:
commit db62cd29f9b9142c19c574ca00916f66ff22ed4a
Author: Arjan van de Ven <arjan@...ux.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
--
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