summaryrefslogtreecommitdiffstats
path: root/drivers/net/8139too.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-11-04 22:46:35 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-11-04 22:46:35 -0500
commit96a71d52bb91d9b386a60f904956420f98946dd3 (patch)
treede71b019669e26672809f8d36942279b622509e9 /drivers/net/8139too.c
parent38b492a21ac1b0f0a5ebed69c9e2ee6f4202f574 (diff)
downloadop-kernel-dev-96a71d52bb91d9b386a60f904956420f98946dd3.zip
op-kernel-dev-96a71d52bb91d9b386a60f904956420f98946dd3.tar.gz
[netdrvr 8139too] use rtnl_shlock_nowait() rather than rtnl_lock_interruptible()
Diffstat (limited to 'drivers/net/8139too.c')
-rw-r--r--drivers/net/8139too.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c
index bcea9d4..120baaa 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/8139too.c
@@ -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 ();
}
OpenPOWER on IntegriCloud