Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [patch 3/9] mips: Replace deprecated spinlock initialization
       [not found] <20110123143631.392446736@linutronix.de>
@ 2011-01-23 15:17 ` Thomas Gleixner
  2011-01-24 12:42   ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gleixner @ 2011-01-23 15:17 UTC (permalink / raw)
  To: LKML; +Cc: Ingo Molnar, Peter Zijlstra, Ralf Baechle, linux-mips

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

SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
---
 arch/mips/kernel/vpe.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/arch/mips/kernel/vpe.c
===================================================================
--- linux-2.6.orig/arch/mips/kernel/vpe.c
+++ linux-2.6/arch/mips/kernel/vpe.c
@@ -148,9 +148,9 @@ struct {
 	spinlock_t tc_list_lock;
 	struct list_head tc_list;	/* Thread contexts */
 } vpecontrol = {
-	.vpe_list_lock	= SPIN_LOCK_UNLOCKED,
+	.vpe_list_lock	= __SPIN_LOCK_UNLOCKED(vpe_list_lock),
 	.vpe_list	= LIST_HEAD_INIT(vpecontrol.vpe_list),
-	.tc_list_lock	= SPIN_LOCK_UNLOCKED,
+	.tc_list_lock	= __SPIN_LOCK_UNLOCKED(tc_list_lock),
 	.tc_list	= LIST_HEAD_INIT(vpecontrol.tc_list)
 };
 

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

* Re: [patch 3/9] mips: Replace deprecated spinlock initialization
  2011-01-23 15:17 ` [patch 3/9] mips: Replace deprecated spinlock initialization Thomas Gleixner
@ 2011-01-24 12:42   ` Ralf Baechle
  2011-01-27  7:54     ` Thomas Gleixner
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Baechle @ 2011-01-24 12:42 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: LKML, Ingo Molnar, Peter Zijlstra, linux-mips

Thanks, applied.

  Ralf

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

* Re: [patch 3/9] mips: Replace deprecated spinlock initialization
  2011-01-24 12:42   ` Ralf Baechle
@ 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: Ralf Baechle; +Cc: LKML, Ingo Molnar, Peter Zijlstra, linux-mips

On Mon, 24 Jan 2011, Ralf Baechle wrote:

> Thanks, applied.
> 
>   Ralf
> 

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:55 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:17 ` [patch 3/9] mips: Replace deprecated spinlock initialization Thomas Gleixner
2011-01-24 12:42   ` Ralf Baechle
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