patch-2.1.132 linux/drivers/cdrom/sjcd.c
Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/cdrom/sbpcd.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Dec 20 04:36:47 1998
- Orig file:
v2.1.131/linux/drivers/cdrom/sjcd.c
- Orig date:
Wed Aug 26 11:37:36 1998
diff -u --recursive --new-file v2.1.131/linux/drivers/cdrom/sjcd.c linux/drivers/cdrom/sjcd.c
@@ -1488,7 +1488,7 @@
/*
* Wait 10ms approx.
*/
- for( timer = jiffies; jiffies <= timer; );
+ for( timer = jiffies; time_before_eq(jiffies, timer); );
if ( (i % 100) == 0 ) printk( "." );
( void )sjcd_check_status();
}
@@ -1509,7 +1509,7 @@
/*
* Wait 10ms approx.
*/
- for( timer = jiffies; jiffies <= timer; );
+ for( timer = jiffies; time_before_eq(jiffies, timer); );
if ( (i % 100) == 0 ) printk( "." );
( void )sjcd_check_status();
}
@@ -1540,7 +1540,7 @@
/*
* Wait 10ms approx.
*/
- for( timer = jiffies; jiffies <= timer; );
+ for( timer = jiffies; time_before_eq(jiffies, timer); );
if ( (i % 100) == 0 ) printk( "." );
( void )sjcd_check_status();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov