[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 93e82e4d99d6e3497317464af5e375c1c37fe86d..1ead5ea6c5ce71afaf259eb6629abc8f65a0c11e 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.