[PATCH 06/14] arch_topology: Export cpu_scale per-cpu array

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


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

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

diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c
index 4d0a0038b476..b1f0c272da67 100644
--- a/drivers/base/arch_topology.c
+++ b/drivers/base/arch_topology.c
@@ -48,6 +48,7 @@ void arch_set_freq_scale(struct cpumask *cpus, unsigned long cur_freq,
}

DEFINE_PER_CPU(unsigned long, cpu_scale) = SCHED_CAPACITY_SCALE;
+EXPORT_SYMBOL_GPL(cpu_scale);

void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity)
{
--
2.26.2.526.g744177e7f7-goog