[PATCH] rw_semaphores, exported symbol non-versioning

D.W.Howells (dhowells@astarte.free-online.co.uk)
Fri, 27 Apr 2001 20:32:57 +0100


--------------Boundary-00=_XAUG8AXX8XYK9S4EE0KL
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

This patch (made against linux-2.4.4-pre8) turns off module export versioning
on the rwsem symbols called from inline assembly.

David

--------------Boundary-00=_XAUG8AXX8XYK9S4EE0KL
Content-Type: text/plain;
charset="iso-8859-1";
name="rwsem-exp.diff"
Content-Transfer-Encoding: 8bit
Content-Description: rw-semaphore patch, exported symbol versioning
Content-Disposition: attachment; filename="rwsem-exp.diff"

diff -uNr linux-2.4.4-pre8/lib/rwsem.c linux-rwsem/lib/rwsem.c
--- linux-2.4.4-pre8/lib/rwsem.c Fri Apr 27 20:10:11 2001
+++ linux-rwsem/lib/rwsem.c Fri Apr 27 20:27:03 2001
@@ -202,9 +202,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

--------------Boundary-00=_XAUG8AXX8XYK9S4EE0KL--
-
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/