[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4762F224.8050203@garzik.org>
Date: Fri, 14 Dec 2007 16:14:12 -0500
From: Jeff Garzik <jeff@...zik.org>
To: akpm@...ux-foundation.org
CC: netdev@...r.kernel.org, jirislaby@...il.com, jgarzik@...ox.com
Subject: Re: [patch 06/10] Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED
akpm@...ux-foundation.org wrote:
> From: Jiri Slaby <jirislaby@...il.com>
>
> SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
>
> Signed-off-by: Jiri Slaby <jirislaby@...il.com>
> Cc: Jeff Garzik <jgarzik@...ox.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
>
> drivers/net/ibm_newemac/debug.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN drivers/net/ibm_newemac/debug.c~net-ibm_newemac-remove-spin_lock_unlocked drivers/net/ibm_newemac/debug.c
> --- a/drivers/net/ibm_newemac/debug.c~net-ibm_newemac-remove-spin_lock_unlocked
> +++ a/drivers/net/ibm_newemac/debug.c
> @@ -21,7 +21,7 @@
>
> #include "core.h"
>
> -static spinlock_t emac_dbg_lock = SPIN_LOCK_UNLOCKED;
> +static DEFINE_SPINLOCK(emac_dbg_lock);
>
applied #upstream-fixes
--
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