2001-04-27 20:05:11

by Ed Tomlinson

[permalink] [raw]
Subject: 2.4.4-pre8 undefined symbols

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