diff --git a/[refs] b/[refs] index 28d7761bef46..7fb60a08a514 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c8b15a706d921baed3195407e4f55270112bb3c6 +refs/heads/master: 1c840c14906d4ddf66c1f4f5daea059aad951c82 diff --git a/trunk/kernel/futex.c b/trunk/kernel/futex.c index 381125a9f1e0..2aa216e5b594 100644 --- a/trunk/kernel/futex.c +++ b/trunk/kernel/futex.c @@ -2060,7 +2060,7 @@ static int futex_unlock_pi(u32 __user *uaddr, int fshared) * * Returns * 0 - no early wakeup detected - * <0 - -ETIMEDOUT or -ERESTARTSYS (FIXME: or ERESTARTNOINTR?) + * <0 - -ETIMEDOUT or -ERESTARTNOINTR */ static inline int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, @@ -2087,15 +2087,8 @@ int handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, if (timeout && !timeout->task) ret = -ETIMEDOUT; - else { - /* - * We expect signal_pending(current), but another - * thread may have handled it for us already. - */ - /* FIXME: ERESTARTSYS or ERESTARTNOINTR? Do we care if - * the user specified SA_RESTART or not? */ - ret = -ERESTARTSYS; - } + else + ret = -ERESTARTNOINTR; } return ret; }