[PATCH] kernel 2.4.x: __wake_up_sync should be exported

From: Jeremy Elson (jelson@circlemud.org)
Date: Sun Aug 19 2001 - 19:48:08 EST


Hi,

I just tried using wake_up_interruptible_sync() from a kernel module,
and found that __wake_up_sync wasn't being exported. Here's a
one-line patch to ksyms.c to fix that.

diff -u --recursive linux-2.4.9-orig/kernel/ksyms.c linux-2.4.9/kernel
--- linux-2.4.9-orig/kernel/ksyms.c Sun Aug 19 17:44:16 2001
+++ linux-2.4.9/kernel/ksyms.c Sun Aug 19 17:41:50 2001
@@ -434,6 +434,7 @@
 /* process management */
 EXPORT_SYMBOL(complete_and_exit);
 EXPORT_SYMBOL(__wake_up);
+EXPORT_SYMBOL(__wake_up_sync);
 EXPORT_SYMBOL(wake_up_process);
 EXPORT_SYMBOL(sleep_on);
 EXPORT_SYMBOL(sleep_on_timeout);

Regards,
Jeremy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:32 EST