[PATCH 09/14] sched/cpufreq: Export cpufreq_this_cpu_can_update()

From: Quentin Perret
Date: Thu May 07 2020 - 14:10:43 EST


It will be needed by schedutil once modularized, export it.

Signed-off-by: Quentin Perret <qperret@xxxxxxxxxx>
---
kernel/sched/cpufreq.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/sched/cpufreq.c b/kernel/sched/cpufreq.c
index 82f2dda61a55..f4abe4e4e927 100644
--- a/kernel/sched/cpufreq.c
+++ b/kernel/sched/cpufreq.c
@@ -75,6 +75,7 @@ bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy)
(policy->dvfs_possible_from_any_cpu &&
rcu_dereference_sched(*this_cpu_ptr(&cpufreq_update_util_data)));
}
+EXPORT_SYMBOL_GPL(cpufreq_this_cpu_can_update);

#ifdef CONFIG_ENERGY_MODEL
extern bool sched_energy_update;
--
2.26.2.526.g744177e7f7-goog