patch-2.3.3 linux/include/linux/netdevice.h

Next file: linux/include/linux/parport.h
Previous file: linux/include/linux/lp_m68k.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -405,7 +405,7 @@
 extern __inline__ void dev_lock_wait(void)
 {
 	while (atomic_read(&dev_lockct)) {
-		current->counter = 0;
+		current->policy |= SCHED_YIELD;
 		schedule();
 	}
 }

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