[2.3.30-3] __{read,write}_lock_failed not exported

Borislav Deianov (borislav@lix.polytechnique.fr)
Tue, 30 Nov 1999 18:27:33 +0100


Hi,

Modules that use rw locks (like af_packet) need __read_lock_failed and
__write_lock_failed to be exported. Something like this, I guess:

--- linux/arch/i386/kernel/i386_ksyms.c~ Fri Nov 12 15:34:55 1999
+++ linux/arch/i386/kernel/i386_ksyms.c Tue Nov 30 18:17:15 1999
@@ -93,6 +93,11 @@
EXPORT_SYMBOL(cpu_present_map);
EXPORT_SYMBOL(cpu_online_map);

+extern void FASTCALL(__read_lock_failed(rwlock_t *rw));
+extern void FASTCALL(__write_lock_failed(rwlock_t *rw));
+EXPORT_SYMBOL(__read_lock_failed);
+EXPORT_SYMBOL(__write_lock_failed);
+
/* Global SMP irq stuff */
EXPORT_SYMBOL(synchronize_irq);
EXPORT_SYMBOL(synchronize_bh);

Regards,
Borislav

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