summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/android/binder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 93b410aeaaf7..6ccf8099c80b 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -1714,7 +1714,7 @@ static void binder_transaction(struct binder_proc *proc,
if (reply || !(t->flags & TF_ONE_WAY)) {
preempt_disable();
wake_up_interruptible_sync(target_wait);
- sched_preempt_enable_no_resched();
+ preempt_enable_no_resched();
}
else {
wake_up_interruptible(target_wait);