[PATCH 10/14] sched/fair: Export cpu_util_freq()

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


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

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

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index dadf0a060abe..b7b43aeff969 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6488,6 +6488,7 @@ unsigned long cpu_util_freq(int cpu, unsigned long max)
{
return aggregate_cpu_util(cpu, cpu_util(cpu), max, FREQUENCY_UTIL, NULL);
}
+EXPORT_SYMBOL_GPL(cpu_util_freq);

/*
* Predicts what cpu_util(@cpu) would return if @p was migrated (and enqueued)
--
2.26.2.526.g744177e7f7-goog