Fix section conflict of ia64_mlogbuf_finish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <tbm@xxxxxxxxxx>

--- a/arch/ia64/kernel/mca.c~	2007-05-15 16:15:50.000000000 +0000
+++ b/arch/ia64/kernel/mca.c	2007-05-15 16:27:46.985701032 +0000
@@ -254,7 +254,7 @@
  * invoked, long-wait rendezvous etc.)
  *  NOTE: this should be called from monarch.
  */
-static void ia64_mlogbuf_finish(int wait)
+void ia64_mlogbuf_finish(int wait)
 {
 	BREAK_LOGLEVEL(console_loglevel);
 

-- 
Martin Michlmayr
http://www.cyrius.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux