sfc: Disable soft interrupt handling during efx_device_detach_sync()
[pandora-kernel.git] / drivers / net / ethernet / sfc / efx.h
index 55e72af..9668d29 100644 (file)
@@ -157,9 +157,9 @@ static inline void efx_device_detach_sync(struct efx_nic *efx)
         * TX scheduler is stopped when we're done and before
         * netif_device_present() becomes false.
         */
-       netif_tx_lock(dev);
+       netif_tx_lock_bh(dev);
        netif_device_detach(dev);
-       netif_tx_unlock(dev);
+       netif_tx_unlock_bh(dev);
 }
 
 #endif /* EFX_EFX_H */