[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200507181012.29791-10-qperret@google.com>
Date: Thu, 7 May 2020 19:10:07 +0100
From: Quentin Perret <qperret@...gle.com>
To: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Cc: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, x86@...nel.org,
hpa@...or.com, sudeep.holla@....com, gregkh@...uxfoundation.org,
rafael@...nel.org, viresh.kumar@...aro.org, peterz@...radead.org,
juri.lelli@...hat.com, vincent.guittot@...aro.org,
dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
mgorman@...e.de, mcgrof@...nel.org, keescook@...omium.org,
yzaikin@...gle.com, fweisbec@...il.com, tkjos@...gle.com,
kernel-team@...roid.com, qperret@...gle.com
Subject: [PATCH 09/14] sched/cpufreq: Export cpufreq_this_cpu_can_update()
It will be needed by schedutil once modularized, export it.
Signed-off-by: Quentin Perret <qperret@...gle.com>
---
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
Powered by blists - more mailing lists