X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=kernel%2Frtmutex_common.h;h=9c75856e791ee91a0e34dbdc0079a8297c9574ff;hb=a8c4c20dfa8b28a3c99e33c639d9c2ea5657741e;hp=e068024eeffce3d7f4308ac422c18547ce3cef65;hpb=61a87122869b6340a63b6f9f84097d3688604b90;p=~andy%2Flinux diff --git a/kernel/rtmutex_common.h b/kernel/rtmutex_common.h index e068024eeff..9c75856e791 100644 --- a/kernel/rtmutex_common.h +++ b/kernel/rtmutex_common.h @@ -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