public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] smc91x: fix compilation on SMP
@ 2009-08-26  8:55 Alexey Dobriyan
  2009-08-26  9:39 ` DDD
  2009-08-26 19:03 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Alexey Dobriyan @ 2009-08-26  8:55 UTC (permalink / raw)
  To: davem; +Cc: netdev, dongdong.deng

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 drivers/net/smc91x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-26 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-26  8:55 [PATCH] smc91x: fix compilation on SMP Alexey Dobriyan
2009-08-26  9:39 ` DDD
2009-08-26 19:03 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox