mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
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:
parent
95fd09fa3a
commit
fb03f7bef8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user