aboutsummaryrefslogtreecommitdiff
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-19 10:42:11 +0100
committerMark Brown <broonie@linaro.org>2013-07-19 10:42:11 +0100
commit0b37fbf7508ff30e1d3668fea74e82f842448354 (patch)
tree6d01fee5e95e1d4a8042ef473d61dd816b43d13e /kernel/futex.c
parent0a37d59e3c8c2299f8931df0cb1c0f525047fab5 (diff)
parenta88f9e27498afaea615ad3e93af4f26df1f84987 (diff)
Merge branch 'experimental/android-3.10' of https://android.googlesource.com/kernel/common into linux-linaro-lsk-android
Conflicts: arch/arm/include/asm/smp.h arch/arm/kernel/smp.c kernel/futex.c
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index 49dacfb4574..c3a1a55a521 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -62,6 +62,7 @@
#include <linux/ptrace.h>
#include <linux/sched/rt.h>
#include <linux/hugetlb.h>
+#include <linux/freezer.h>
#include <asm/futex.h>
@@ -1808,7 +1809,7 @@ static void futex_wait_queue_me(struct futex_hash_bucket *hb, struct futex_q *q,
* is no timeout, or if it has yet to expire.
*/
if (!timeout || timeout->task)
- schedule();
+ freezable_schedule();
}
__set_current_state(TASK_RUNNING);
}