mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in init_task.h
@ 2007-04-19 12:13 Milind Arun Choudhary
  0 siblings, 0 replies; only message in thread
From: Milind Arun Choudhary @ 2007-04-19 12:13 UTC (permalink / raw)
  To: Kernel Janitors; +Cc: Andrw Morton, LKML

SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead 

Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
---
 init_task.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index a2d95ff..7951023 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -138,7 +138,7 @@ extern struct group_info init_groups;
 	.journal_info	= NULL,						\
 	.cpu_timers	= INIT_CPU_TIMERS(tsk.cpu_timers),		\
 	.fs_excl	= ATOMIC_INIT(0),				\
-	.pi_lock	= SPIN_LOCK_UNLOCKED,				\
+	.pi_lock	= __SPIN_LOCK_UNLOCKED(tsk.pi_lock),		\
 	INIT_TRACE_IRQFLAGS						\
 	INIT_LOCKDEP							\
 }
-- 
Milind Arun Choudhary

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-19 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-19 12:13 [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in init_task.h Milind Arun Choudhary

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

all inboxes | Powered by JetHome®