提交 38df7a39 编写于 作者: S stephen hemminger 提交者: David S. Miller

e1000: make e1000_reinit_safe local

Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Acked-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8d96286a
...@@ -521,7 +521,7 @@ void e1000_down(struct e1000_adapter *adapter) ...@@ -521,7 +521,7 @@ void e1000_down(struct e1000_adapter *adapter)
e1000_clean_all_rx_rings(adapter); e1000_clean_all_rx_rings(adapter);
} }
void e1000_reinit_safe(struct e1000_adapter *adapter) static void e1000_reinit_safe(struct e1000_adapter *adapter)
{ {
while (test_and_set_bit(__E1000_RESETTING, &adapter->flags)) while (test_and_set_bit(__E1000_RESETTING, &adapter->flags))
msleep(1); msleep(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册