From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Michlmayr Date: Tue, 15 May 2007 19:03:36 +0000 Subject: Re: Fix section conflict of ia64_mlogbuf_finish Message-Id: <20070515190336.GC19816@deprecation.cyrius.com> List-Id: References: <20070515164202.GA19839@deprecation.cyrius.com> In-Reply-To: <20070515164202.GA19839@deprecation.cyrius.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org * Russ Anderson [2007-05-15 13:32]: > I suspect EXPORT is left over from the initial development/debug. > Either change is fine with me. OK, then let's use this one instead: Subject: Fix section conflict of ia64_mlogbuf_finish Building with GCC 4.2, I get the following error: CC arch/ia64/kernel/mca.o arch/ia64/kernel/mca.c:275: error: __ksymtab_ia64_mlogbuf_finish causes a section type conflict This is because ia64_mlogbuf_finish is both declared static and exported. Signed-off-by: Martin Michlmayr --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c @@ -272,7 +272,6 @@ static void ia64_mlogbuf_finish(int wait) mlogbuf_finished = 1; } -EXPORT_SYMBOL(ia64_mlogbuf_finish); /* * Print buffered messages from INIT context. -- Martin Michlmayr http://www.cyrius.com/