2.4.4-pre8 undefined symbols

Ed Tomlinson (tomlins@cam.org)
Fri, 27 Apr 2001 16:04:39 -0400


Hi

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

---------
--- linux/lib/rwsem.c.orig Fri Apr 27 13:24:48 2001
+++ linux/lib/rwsem.c Fri Apr 27 13:25:08 2001
@@ -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
-
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/