diff options
author | Malli Chilakala <mallikarjuna.chilakala@intel.com> | 2005-04-29 04:05:12 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-13 02:54:42 +0200 |
commit | 37d16f823799918107440cb9e552b0709347f77c (patch) | |
tree | 427355cfc97b90cc1debce5496749d625cd9ba74 /drivers/net/ixgb/ixgb_osdep.h | |
parent | [PATCH] ixgb: Code optimization (diff) | |
download | linux-37d16f823799918107440cb9e552b0709347f77c.tar.xz linux-37d16f823799918107440cb9e552b0709347f77c.zip |
[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
Diffstat (limited to 'drivers/net/ixgb/ixgb_osdep.h')
-rw-r--r-- | drivers/net/ixgb/ixgb_osdep.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_osdep.h b/drivers/net/ixgb/ixgb_osdep.h index 9eba92891901..dba20481ee80 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 |