Commit 37d16f82 authored by Malli Chilakala's avatar Malli Chilakala Committed by Jeff Garzik

[PATCH] ixgb: Fixed msec_delay in osdep to use msleep

Fixed msec_delay in osdep to use msleep
Signed-off-by: default avatarMallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: default avatarGanesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: default avatarJohn 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
parent f404de1c
...@@ -45,8 +45,7 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment