[PATCH] ixgb: support ETHTOOL_GPERMADDR
[powerpc.git] / drivers / net / ixgb / ixgb_osdep.h
index 9eba928..dba2048 100644 (file)
@@ -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