summaryrefslogtreecommitdiff
path: root/kernel/rtmutex_common.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-10 09:04:15 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:19:23 (GMT)
commit0a13c973854b639f936c9a34a8ef5f0df5e75c79 (patch)
tree363e6507765c1e8bdea43f21187f6e8d52c64664 /kernel/rtmutex_common.h
parenta73bde4dcfa135b3611f33157755f7acc5fa7ddf (diff)
downloadlinux-fsl-qoriq-0a13c973854b639f936c9a34a8ef5f0df5e75c79.tar.xz
rtmutex-futex-prepare-rt.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/rtmutex_common.h')
-rw-r--r--kernel/rtmutex_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rtmutex_common.h b/kernel/rtmutex_common.h
index 53a66c8..b43d832 100644
--- a/kernel/rtmutex_common.h
+++ b/kernel/rtmutex_common.h
@@ -103,6 +103,8 @@ static inline struct task_struct *rt_mutex_owner(struct rt_mutex *lock)
/*
* PI-futex support (proxy locking functions, etc.):
*/
+#define PI_WAKEUP_INPROGRESS ((struct rt_mutex_waiter *) 1)
+
extern struct task_struct *rt_mutex_next_owner(struct rt_mutex *lock);
extern void rt_mutex_init_proxy_locked(struct rt_mutex *lock,
struct task_struct *proxy_owner);