patch-2.4.0-test1 linux/drivers/cdrom/aztcd.c
Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/rd.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed May 24 19:28:05 2000
- Orig file:
v2.3.99-pre9/linux/drivers/cdrom/aztcd.c
- Orig date:
Tue Mar 14 19:10:39 2000
diff -u --recursive --new-file v2.3.99-pre9/linux/drivers/cdrom/aztcd.c linux/drivers/cdrom/aztcd.c
@@ -1727,7 +1727,8 @@
return -EIO;
}
- for (count = 0; count < AZT_TIMEOUT; count++);
+ for (count = 0; count < AZT_TIMEOUT; count++)
+ barrier(); /* Stop gcc 2.96 being smart */
if ((st=getAztStatus())==-1)
{ printk("aztcd: Drive Status Error Status=%x\n",st);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)