[IA64] Fix section conflict of ia64_mlogbuf_finish
authorMartin Michlmayr <tbm@cyrius.com>
Tue, 15 May 2007 19:03:36 +0000 (21:03 +0200)
committerTony Luck <tony.luck@intel.com>
Tue, 15 May 2007 20:38:13 +0000 (13:38 -0700)
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 <tbm@cyrius.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/mca.c

index 93e82e4..1ead5ea 100644 (file)
@@ -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.