ANDROID: sched: allow access to critical common code for CPU Pause

Allow module access to critical functionality to support
CPU Pause from a vendor module.

Bug: 205164003
Change-Id: Ia04608dae076469e265071f8e0d53aee66d49cfa
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
This commit is contained in:
Stephen Dickey
2021-11-04 15:24:34 -07:00
committed by Todd Kjos
parent 72a288144d
commit ca2177d4a0
3 changed files with 7 additions and 3 deletions

View File

@@ -152,6 +152,7 @@ int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg)
wait_for_completion(&done.completion);
return done.ret;
}
EXPORT_SYMBOL_GPL(stop_one_cpu);
/* This controls the threads on each CPU. */
enum multi_stop_state {