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

Message ID 20200507181012.29791-11-qperret@google.com
State New
Headers show
Series
  • Untitled series #38279
Related show

Commit Message

Quentin Perret May 7, 2020, 6:10 p.m.
It will be needed by schedutil once modularized, export it.

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

Patch

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)