patch-2.1.127 linux/include/linux/parport.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/pagemap.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/include/linux/parport.h linux/include/linux/parport.h
@@ -208,7 +208,7 @@
 	int number;		/* port index - the `n' in `parportn' */
 	spinlock_t pardevice_lock;
 	spinlock_t waitlist_lock;
-	spinlock_t cad_lock;
+	rwlock_t cad_lock;
 };
 
 /* parport_register_port registers a new parallel port at the given address (if

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov