ANDROID: sched: Export symbol for vendor RT hook funcion

Export task_may_not_preempt.

Bug: 174030348
Signed-off-by: Rick Yiu <rickyiu@google.com>
Change-Id: I71b50f876306811f008414096043b883dc43b4d5
Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
Rick Yiu
2020-12-16 22:09:46 +08:00
committed by Will McVicker
parent 95fd09fa3a
commit fb03f7bef8
+1
View File
@@ -1454,6 +1454,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