patch-2.4.7 linux/drivers/char/rio/rioinit.c

Next file: linux/drivers/char/rio/riotable.c
Previous file: linux/drivers/char/rio/riodrvr.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/drivers/char/rio/rioinit.c linux/drivers/char/rio/rioinit.c
@@ -1446,7 +1446,7 @@
 				}
 				RIODefaultName(p, HostP, rup);
 			}
-			HostP->UnixRups[rup].RupLock = -1;
+			HostP->UnixRups[rup].RupLock = SPIN_LOCK_UNLOCKED;
 		}
 	}
 }

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