mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
[PATCH] ixgb: Fixed msec_delay in osdep to use msleep
Fixed msec_delay in osdep to use msleep Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> diff -up net-drivers-2.6/drivers/net/ixgb/ixgb_osdep.h net-drivers-2.6/drivers/net/ixgb.new/ixgb_osdep.h
This commit is contained in:
parent
f404de1cd4
commit
37d16f8237
@ -45,8 +45,7 @@
|
|||||||
/* Don't mdelay in interrupt context! */ \
|
/* Don't mdelay in interrupt context! */ \
|
||||||
BUG(); \
|
BUG(); \
|
||||||
} else { \
|
} else { \
|
||||||
set_current_state(TASK_UNINTERRUPTIBLE); \
|
msleep(x); \
|
||||||
schedule_timeout((x * HZ)/1000 + 2); \
|
|
||||||
} } while(0)
|
} } while(0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user