X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=kernel%2Ffutex.c;h=b766d28accd6be8dc2b735de11aa004514b8f91b;hb=c726b822131e7fdb62745a5585449e6a159395e8;hp=52075633373f0c553c93716ad860747845d018fe;hpb=9c4bc1c2befbbdce4b9fd526e67a7a2ea143ffa2;p=mv-sheeva.git diff --git a/kernel/futex.c b/kernel/futex.c index 52075633373..b766d28accd 100644 --- a/kernel/futex.c +++ b/kernel/futex.c @@ -826,10 +826,9 @@ static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this) new_owner = rt_mutex_next_owner(&pi_state->pi_mutex); /* - * This happens when we have stolen the lock and the original - * pending owner did not enqueue itself back on the rt_mutex. - * Thats not a tragedy. We know that way, that a lock waiter - * is on the fly. We make the futex_q waiter the pending owner. + * It is possible that the next waiter (the one that brought + * this owner to the kernel) timed out and is no longer + * waiting on the lock. */ if (!new_owner) new_owner = this->task;