From: Alexey Dobriyan Date: Wed, 26 Aug 2009 19:03:35 +0000 (-0700) Subject: smc91x: fix compilation on SMP X-Git-Tag: v2.6.31-rc8~9^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b4f2928f14c4a9770b0866923fc81beb7f4aa57;p=platform%2Fkernel%2Flinux-stable.git smc91x: fix compilation on SMP Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index 9da1fa1..7567f51 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)