Alpha arch development list
 help / color / mirror / Atom feed
* [patch 1/9] alpha: Replace deprecated spinlock initialization
       [not found] <20110123143631.392446736@linutronix.de>
@ 2011-01-23 15:16 ` Thomas Gleixner
  2011-01-23 17:07   ` Matt Turner
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gleixner @ 2011-01-23 15:16 UTC (permalink / raw)
  To: LKML; +Cc: Ingo Molnar, Peter Zijlstra, Richard Henderson, linux-alpha

[-- Attachment #1: alpha-replace-deprecated-spinlock-initialization.patch --]
[-- Type: text/plain, Size: 774 bytes --]

SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Richard Henderson <rth@twiddle.net>
Cc: linux-alpha@vger.kernel.org
---
 arch/alpha/include/asm/rwsem.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/alpha/include/asm/rwsem.h
===================================================================
--- linux-2.6.orig/arch/alpha/include/asm/rwsem.h
+++ linux-2.6/arch/alpha/include/asm/rwsem.h
@@ -39,7 +39,7 @@ struct rw_semaphore {
 };
 
 #define __RWSEM_INITIALIZER(name) \
-	{ RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \
+	{ RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock),	\
 	LIST_HEAD_INIT((name).wait_list) }
 
 #define DECLARE_RWSEM(name) \



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

* Re: [patch 1/9] alpha: Replace deprecated spinlock initialization
  2011-01-23 15:16 ` [patch 1/9] alpha: Replace deprecated spinlock initialization Thomas Gleixner
@ 2011-01-23 17:07   ` Matt Turner
  2011-01-27  7:54     ` Thomas Gleixner
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Turner @ 2011-01-23 17:07 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: LKML, Ingo Molnar, Peter Zijlstra, Richard Henderson, linux-alpha

On Sun, Jan 23, 2011 at 3:16 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
> instead.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Richard Henderson <rth@twiddle.net>
> Cc: linux-alpha@vger.kernel.org
> ---
>  arch/alpha/include/asm/rwsem.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6/arch/alpha/include/asm/rwsem.h
> ===================================================================
> --- linux-2.6.orig/arch/alpha/include/asm/rwsem.h
> +++ linux-2.6/arch/alpha/include/asm/rwsem.h
> @@ -39,7 +39,7 @@ struct rw_semaphore {
>  };
>
>  #define __RWSEM_INITIALIZER(name) \
> -       { RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, \
> +       { RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \
>        LIST_HEAD_INIT((name).wait_list) }
>
>  #define DECLARE_RWSEM(name) \
>
>
> --

Thanks! I'll apply this.

Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [patch 1/9] alpha: Replace deprecated spinlock initialization
  2011-01-23 17:07   ` Matt Turner
@ 2011-01-27  7:54     ` Thomas Gleixner
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2011-01-27  7:54 UTC (permalink / raw)
  To: Matt Turner
  Cc: LKML, Ingo Molnar, Peter Zijlstra, Richard Henderson, linux-alpha

On Sun, 23 Jan 2011, Matt Turner wrote:
> On Sun, Jan 23, 2011 at 3:16 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> 
> Thanks! I'll apply this.

I take it through core/locking in tip as well, because further
cleanups depend on it. Git will sort out the identical changes.

Thanks,

	tglx

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

end of thread, other threads:[~2011-01-27  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20110123143631.392446736@linutronix.de>
2011-01-23 15:16 ` [patch 1/9] alpha: Replace deprecated spinlock initialization Thomas Gleixner
2011-01-23 17:07   ` Matt Turner
2011-01-27  7:54     ` Thomas Gleixner

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