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

* Re: [PATCH] smc91x: fix compilation on SMP
  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
  1 sibling, 0 replies; 3+ messages in thread
From: DDD @ 2009-08-26  9:39 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: davem, netdev

Hi Alexey,

Thanks for you correct me. :-)

For "smc91x", I just compile it on an old linux version, and merge the
changes to the latest linux for creating a patch. 
I think it must be OK, so I didn't compile the patch on the latest
linux. 

I'm so sorry for my careless.


Dongdong


On Wed, 2009-08-26 at 12:55 +0400, Alexey Dobriyan wrote:
> 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

* Re: [PATCH] smc91x: fix compilation on SMP
  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
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2009-08-26 19:03 UTC (permalink / raw)
  To: adobriyan; +Cc: netdev, dongdong.deng

From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Wed, 26 Aug 2009 12:55:26 +0400

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

Applied, thanks. :-/

^ 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