patch-2.1.127 linux/net/appletalk/ddp.c
Next file: linux/net/core/dev.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Wed Nov  4 10:11:52 1998
-  Orig file: 
v2.1.126/linux/net/appletalk/ddp.c
-  Orig date: 
Sat Sep  5 16:46:42 1998
diff -u --recursive --new-file v2.1.126/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -383,9 +383,8 @@
 						/*
 						 * Defer 1/10th
 						 */
-						current->timeout = jiffies + (HZ/10);
 						current->state = TASK_INTERRUPTIBLE;
-						schedule();
+						schedule_timeout(HZ/10);
 						if(atif->status & ATIF_PROBE_FAIL)
 							break;
 					}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov