[patch] MCA recovery module undefined symbol fix

From: Russ Anderson <rja_at_sgi.com>
Date: 2005-04-23 09:08:28
The patch "MCA recovery improvements" (http://marc.theaimsgroup.com/?l=linux-ia64&m=111274241707975&w=2)
added do_exit to mca_drv.c.  That's fine when the mca recovery code
is built in the kernel (CONFIG_IA64_MCA_RECOVERY=y) but breaks 
building the mca recovery code as a module (CONFIG_IA64_MCA_RECOVERY=m).

This patch exports do_exit, so mca_drv.c can build as a module.

Signed-off-by: Russ Anderson (rja@sgi.com)

-------------------------------------------------------------------
Index: linux/kernel/exit.c
===================================================================
--- linux.orig/kernel/exit.c	2005-04-01 09:34:10.848943143 -0600
+++ linux/kernel/exit.c	2005-04-22 17:30:32.517590141 -0500
@@ -845,6 +845,8 @@
 	for (;;) ;
 }
 
+EXPORT_SYMBOL(do_exit);
+
 NORET_TYPE void complete_and_exit(struct completion *comp, long code)
 {
 	if (comp)
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Apr 22 19:08:53 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST