[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1251279598.7267.21.camel@dengdd-desktop>
Date: Wed, 26 Aug 2009 17:39:58 +0800
From: DDD <Dongdong.deng@...driver.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] smc91x: fix compilation on SMP
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@...il.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)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists