From: Martin Michlmayr Date: Tue, 15 May 2007 19:03:36 +0000 (+0200) Subject: [IA64] Fix section conflict of ia64_mlogbuf_finish X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=17028c5c91580036eb41da2fad292965fa3b9a7d;p=linux-beck.git [IA64] 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. Fix by removing the export (which is unneeded now). Signed-off-by: Martin Michlmayr Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 93e82e4d99d6..1ead5ea6c5ce 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c @@ -273,7 +273,6 @@ static void ia64_mlogbuf_finish(int wait) mlogbuf_finished = 1; } -EXPORT_SYMBOL(ia64_mlogbuf_finish); /* * Print buffered messages from INIT context.