patch-2.4.7 linux/include/linux/usbdevice_fs.h
Next file: linux/include/linux/videodev.h
Previous file: linux/include/linux/usb.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Jul 20 12:56:04 2001
- Orig file:
v2.4.6/linux/include/linux/usbdevice_fs.h
- Orig date:
Fri May 25 18:03:10 2001
diff -u --recursive --new-file v2.4.6/linux/include/linux/usbdevice_fs.h linux/include/linux/usbdevice_fs.h
@@ -162,18 +162,6 @@
#define IROOT 1
-/*
- * 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
-
-
struct dev_state {
struct list_head list; /* state list */
struct rw_semaphore devsem; /* protects modifications to dev (dev == NULL indicating disconnect) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)