patch-2.4.17 linux/drivers/block/paride/pseudo.h
Next file: linux/drivers/block/paride/pt.c
Previous file: linux/drivers/block/paride/pg.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Dec 21 16:40:32 2001
- Orig file:
linux-2.4.16/drivers/block/paride/pseudo.h
- Orig date:
Sun Feb 4 18:05:29 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/drivers/block/paride/pseudo.h linux/drivers/block/paride/pseudo.h
@@ -102,7 +102,7 @@
spin_unlock_irqrestore(&ps_spinlock,flags);
return;
}
- if (!ps_ready || ps_ready() || (jiffies >= ps_timeout)) {
+ if (!ps_ready || ps_ready() || time_after_eq(jiffies, ps_timeout)) {
ps_continuation = NULL;
spin_unlock_irqrestore(&ps_spinlock,flags);
con();
@@ -131,7 +131,7 @@
spin_unlock_irqrestore(&ps_spinlock,flags);
return;
}
- if (!ps_ready || ps_ready() || (jiffies >= ps_timeout)) {
+ if (!ps_ready || ps_ready() || time_after_eq(jiffies, ps_timeout)) {
ps_continuation = NULL;
spin_unlock_irqrestore(&ps_spinlock,flags);
con();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)