net/ewrk3: replace
Subsystems (2)
PATCH 12/38 net/ewrk3: replace
Any comments would be appreciated.
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/net/ewrk3.c +1 -2
@@ -1681,8 +1681,7 @@ static int ewrk3_ethtool_ioctl(struct ne/* Wait a little while */ spin_unlock_irqrestore (&lp->hw_lock, flags); -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (HZ >>2 ); +msleep (250 );spin_lock_irqsave (&lp->hw_lock, flags);/* Exit if we got a signal */
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors