]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/rtmutex_common.h
[PATCH] pi-futex: futex_lock_pi/futex_unlock_pi support
[karo-tx-linux.git] / kernel / rtmutex_common.h
index e068024eeffce3d7f4308ac422c18547ce3cef65..9c75856e791ee91a0e34dbdc0079a8297c9574ff 100644 (file)
@@ -112,4 +112,12 @@ static inline unsigned long rt_mutex_owner_pending(struct rt_mutex *lock)
        return (unsigned long)lock->owner & RT_MUTEX_OWNER_PENDING;
 }
 
+/*
+ * PI-futex support (proxy locking functions, etc.):
+ */
+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);
+extern void rt_mutex_proxy_unlock(struct rt_mutex *lock,
+                                 struct task_struct *proxy_owner);
 #endif