Skip to contentSkip to conversation

2.4.4-pre8 undefined symbols

PATCH Ed Tomlinson 1 participant 1 message Apr 27, 2001 Library code

lore
Share & tools
lore
#0 lore raw

Hi

The following patch adpated from the fix in the ac series, fixes the undefined symbols in the various drm modules in pre7/8.

---------

lib/rwsem.c renamed from lib/rwsem.c.orig +4 -3
@@ -6,6 +6,7 @@
 #include <linux/rwsem.h>
 #include <linux/sched.h>
 #include <linux/module.h>
+#include <linux/compiler.h>
 
 struct rwsem_waiter {
 	struct list_head	list;
@@ -202,9 +203,9 @@
 	return sem;
 }
 
-EXPORT_SYMBOL(rwsem_down_read_failed);
-EXPORT_SYMBOL(rwsem_down_write_failed);
-EXPORT_SYMBOL(rwsem_wake);
+EXPORT_SYMBOL_NOVERS(rwsem_down_read_failed);
+EXPORT_SYMBOL_NOVERS(rwsem_down_write_failed);
+EXPORT_SYMBOL_NOVERS(rwsem_wake);
 #if RWSEM_DEBUG
 EXPORT_SYMBOL(rwsemtrace);
 #endif

-------------

Ed Tomlinson