android: binder: Don't use sched_preempt_enable_no_resched.

The correct function is prempt_enable_no_resched(). The other
function is reserved for the scheduler core.

Change-Id: Ib36697de003f6a59a608a0024d5351dc15ff8715
Signed-off-by: Todd Kjos <tkjos@google.com>
Git-commit: 776e5bca6446b3aac03b4685b4f4f72446ddcba0
Git-repo: https://android.googlesource.com/kernel/msm
[odhyade@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Omprakash Dhyade <odhyade@codeaurora.org>
This commit is contained in:
Riley Andrews 2015-09-01 20:31:12 -07:00 committed by Jeevan Shriram
parent 3956eabb34
commit e3ba00c712

View file

@ -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);