ANDROID: sched: Export symbol for vendor RT hook funcion

Export task_may_not_preempt.

Bug: 174030348
Change-Id: I71b50f876306811f008414096043b883dc43b4d5
Signed-off-by: Rick Yiu <rickyiu@google.com>
Signed-off-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
This commit is contained in:
Rick Yiu
2020-12-16 22:09:46 +08:00
committed by Shaleen Agrawal
parent 2d3c1ccc53
commit d29d89c814

View File

@@ -1577,6 +1577,7 @@ task_may_not_preempt(struct task_struct *task, int cpu)
(task == cpu_ksoftirqd ||
task_thread_info(task)->preempt_count & SOFTIRQ_MASK));
}
EXPORT_SYMBOL_GPL(task_may_not_preempt);
#endif /* CONFIG_RT_SOFTINT_OPTIMIZATION */
static int