Skip to contentSkip to conversation

SPIN_LOCK_UNLOCKED cleanup in init_task.h

PATCH New Milind Arun Choudhary 1 participant 1 message Apr 19, 2007 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SPIN_LOCK_UNLOCKED cleanup in init_task.h

SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead

---
 init_task.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
include/linux/init_task.h +1 -1
index a2d95ff..7951023 100644
@@ -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							\
 }
Signature · 1 line
Milind Arun Choudhary