aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ixgb/ixgb_osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgb/ixgb_osdep.h')
-rw-r--r--drivers/net/ixgb/ixgb_osdep.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_osdep.h b/drivers/net/ixgb/ixgb_osdep.h
index 9eba9289190..dba20481ee8 100644
--- a/drivers/net/ixgb/ixgb_osdep.h
+++ b/drivers/net/ixgb/ixgb_osdep.h
@@ -45,8 +45,7 @@
/* Don't mdelay in interrupt context! */ \
BUG(); \
} else { \
- set_current_state(TASK_UNINTERRUPTIBLE); \
- schedule_timeout((x * HZ)/1000 + 2); \
+ msleep(x); \
} } while(0)
#endif