diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-17 14:49:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-17 14:49:25 -0800 |
commit | e75080f185c103a638c66d7b65c673769a57cb87 (patch) | |
tree | fa8678e324f7e2225b652685162c15c0c932f970 /arch/x86/kernel/cpu/cpu.h | |
parent | f6705bf959efac87bca76d40050d342f1d212587 (diff) | |
parent | 3e4c9e637df1fac4123db5f3165b0034226a671b (diff) | |
download | kernel_replicant_linux-e75080f185c103a638c66d7b65c673769a57cb87.tar.gz kernel_replicant_linux-e75080f185c103a638c66d7b65c673769a57cb87.tar.bz2 kernel_replicant_linux-e75080f185c103a638c66d7b65c673769a57cb87.zip |
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 'arch/x86/kernel/cpu/cpu.h')
-rw-r--r-- | arch/x86/kernel/cpu/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index f52a370b6c00..e806b11a99af 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h @@ -47,4 +47,7 @@ extern const struct cpu_dev *const __x86_cpu_dev_start[], extern void get_cpu_cap(struct cpuinfo_x86 *c); extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c); + +unsigned int aperfmperf_get_khz(int cpu); + #endif /* ARCH_X86_CPU_H */ |