]> err.no Git - linux-2.6/commitdiff
[netdrvr 8139too] use rtnl_shlock_nowait() rather than rtnl_lock_interruptible()
authorJeff Garzik <jgarzik@pobox.com>
Sat, 5 Nov 2005 03:46:35 +0000 (22:46 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 5 Nov 2005 03:46:35 +0000 (22:46 -0500)
drivers/net/8139too.c

index bcea9d41c32cd8153b86f654b5491e221d8983f4..120baaa90754c7672b5e915553149467ed2c01d9 100644 (file)
@@ -1599,7 +1599,7 @@ static void rtl8139_thread (void *_data)
        struct net_device *dev = _data;
        struct rtl8139_private *tp = netdev_priv(dev);
 
-       if (rtnl_lock_interruptible() == 0) {
+       if (rtnl_shlock_nowait() == 0) {
                rtl8139_thread_iter (dev, tp, tp->mmio_addr);
                rtnl_unlock ();
        }