Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39788815 authored by Riley Andrews's avatar Riley Andrews Committed by Omprakash Dhyade
Browse files

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: default avatarTodd 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: default avatarOmprakash Dhyade <odhyade@codeaurora.org>
parent a70410db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1705,7 +1705,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);