rt_mutex: add proxy lock routines
authorDarren Hart <dvhltc@us.ibm.com>
Fri, 3 Apr 2009 20:40:12 +0000 (13:40 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 6 Apr 2009 09:14:02 +0000 (11:14 +0200)
commit8dac456a681bd94272ff50ecb31be6b669382c2b
tree1558cac565781e503c6a793a7921b49c0ace9a22
parentdd9739980b50c8cde33e1f8eb08b7e0140bcd61e
rt_mutex: add proxy lock routines

This patch is a prerequisite for futex requeue_pi. It basically splits
rt_mutex_slowlock() right down the middle, just before the first call
to schedule(). It further adds helper functions which make use of the
split and provide the rt-mutex preliminaries for futex requeue_pi.

Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/rtmutex.c
kernel/rtmutex_common.h