patch-2.4.0-test3 linux/drivers/char/ip2/i2lib.c

Next file: linux/drivers/char/ip2/i2lib.h
Previous file: linux/drivers/char/ip2/i2ellis.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/char/ip2/i2lib.c linux/drivers/char/ip2/i2lib.c
@@ -529,7 +529,7 @@
 	unsigned short channel;
 	int cnt;
 	unsigned long flags = 0;
-	spinlock_t *lock_var_p = NULL;
+	rwlock_t *lock_var_p = NULL;
 
 	// Make sure the channel exists, otherwise do nothing
 	if ( !i2Validate ( pCh ) ) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)