summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-08-26 12:03:35 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-26 12:03:35 -0700
commit0b4f2928f14c4a9770b0866923fc81beb7f4aa57 (patch)
treee642c42b5f4152487405f4c0767815ecb17c29e8
parent4484b9c8b4976acee181d377f8ba571109d1a2be (diff)
downloadkernel-uprobes-0b4f2928f14c4a9770b0866923fc81beb7f4aa57.tar.gz
kernel-uprobes-0b4f2928f14c4a9770b0866923fc81beb7f4aa57.tar.xz
kernel-uprobes-0b4f2928f14c4a9770b0866923fc81beb7f4aa57.zip
smc91x: fix compilation on SMP
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/smc91x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index 9da1fa12a67..7567f510eff 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -531,7 +531,7 @@ static inline void smc_rcv(struct net_device *dev)
local_irq_restore(flags); \
__ret; \
})
-#define smc_special_lock(lock, flags) spin_lock_irq(lock, flags)
+#define smc_special_lock(lock, flags) spin_lock_irqsave(lock, flags)
#define smc_special_unlock(lock, flags) spin_unlock_irqrestore(lock, flags)
#else
#define smc_special_trylock(lock, flags) (1)