rwsemaphores and modules

Paul Mackerras (paulus@linuxcare.com.au)
Sun, 21 Jan 2001 16:53:04 +1100 (EST)


Does anyone know why we have this code in include/linux/usbdevicefs.h?
Is it still needed?

/*
* sigh. rwsemaphores do not (yet) work from modules
*/

#define rw_semaphore semaphore
#define init_rwsem init_MUTEX
#define down_read down
#define down_write down
#define up_read up
#define up_write up

Paul.

-- 
Paul Mackerras, Open Source Research Fellow, Linuxcare, Inc.
+61 2 6262 8990 tel, +61 2 6262 8991 fax
paulus@linuxcare.com.au, http://www.linuxcare.com.au/
Linuxcare.  Support for the revolution.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/