summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-11-17 14:49:25 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-17 14:49:25 -0800
commite75080f185c103a638c66d7b65c673769a57cb87 (patch)
treefa8678e324f7e2225b652685162c15c0c932f970 /include
parentf6705bf959efac87bca76d40050d342f1d212587 (diff)
parent3e4c9e637df1fac4123db5f3165b0034226a671b (diff)
downloadop-kernel-dev-e75080f185c103a638c66d7b65c673769a57cb87.zip
op-kernel-dev-e75080f185c103a638c66d7b65c673769a57cb87.tar.gz
Merge tag 'pm-fixes-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull two power management fixes from Rafael Wysocki: "This is the change making /proc/cpuinfo on x86 report current CPU frequency in "cpu MHz" again in all cases and an additional one dealing with an overzealous check in one of the helper routines in the runtime PM framework" * tag 'pm-fixes-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: PM / runtime: Drop children check from __pm_runtime_set_status() x86 / CPU: Always show current CPU frequency in /proc/cpuinfo
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpufreq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 28734ee..065f3a8 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -917,6 +917,7 @@ static inline bool policy_has_boost_freq(struct cpufreq_policy *policy)
}
#endif
+extern void arch_freq_prepare_all(void);
extern unsigned int arch_freq_get_on_cpu(int cpu);
extern void arch_set_freq_scale(struct cpumask *cpus, unsigned long cur_freq,
OpenPOWER on IntegriCloud