aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index db9824de8bf0..0edd314798c0 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -1252,6 +1252,8 @@ static int futex_wait(u32 __user *uaddr, struct rw_semaphore *fshared,
1252 t.timer.expires = *abs_time; 1252 t.timer.expires = *abs_time;
1253 1253
1254 hrtimer_start(&t.timer, t.timer.expires, HRTIMER_MODE_ABS); 1254 hrtimer_start(&t.timer, t.timer.expires, HRTIMER_MODE_ABS);
1255 if (!hrtimer_active(&t.timer))
1256 t.task = NULL;
1255 1257
1256 /* 1258 /*
1257 * the timer could have already expired, in which 1259 * the timer could have already expired, in which