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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user