[PATCH RT RFC 5/7] rtmutex: use runtime init for rtmutexes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <mingo@...>, <paulmck@...>, <peterz@...>, <tglx@...>, <rosted@...>
Cc: <linux-kernel@...>, <linux-rt-users@...>, <gregory.haskins@...>
Date: Friday, August 1, 2008 - 5:17 pm

The system already has facilities to perform late/run-time init for
rtmutexes.  We want to add more advanced initialization later in the
series so we force all rtmutexes through the init path in preparation
for the later patches.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---

 include/linux/rtmutex.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
index b263bac..14774ce 100644
--- a/include/linux/rtmutex.h
+++ b/include/linux/rtmutex.h
@@ -64,8 +64,6 @@ struct hrtimer_sleeper;
 
 #define __RT_MUTEX_INITIALIZER(mutexname) \
 	{ .wait_lock = RAW_SPIN_LOCK_UNLOCKED(mutexname) \
-	, .wait_list = PLIST_HEAD_INIT(mutexname.wait_list, &mutexname.wait_lock) \
-	, .owner = NULL \
 	__DEBUG_RT_MUTEX_INITIALIZER(mutexname)}
 
 #define DEFINE_RT_MUTEX(mutexname) \

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RT RFC 0/7] Priority Inheritance enhancements, Gregory Haskins, (Fri Aug 1, 5:16 pm)
[PATCH RT RFC v4 0/8] Priority Inheritance enhancements, Gregory Haskins, (Fri Aug 15, 4:28 pm)
[PATCH RT RFC v2 0/8] Priority Inheritance enhancements, Gregory Haskins, (Fri Aug 15, 8:08 am)
[PATCH RT RFC 5/7] rtmutex: use runtime init for rtmutexes, Gregory Haskins, (Fri Aug 1, 5:17 pm)