diff options
| author | Will Deacon <will@kernel.org> | 2026-01-29 12:05:25 +0000 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-01-29 12:05:25 +0000 |
| commit | c2581836ccfa850b45c4e4e045a83d15563f2969 (patch) | |
| tree | 3489d42f90634ebbc7feeb137330501d381d42b6 /include | |
| parent | 86941154bc8398d617b7a5c141fb545cad9ac4fc (diff) | |
| parent | 747d5b6735caa0178b3f1c922cfa9c285b093f22 (diff) | |
Merge branch 'for-next/cpufreq' into for-next/core
* for-next/cpufreq:
arm64: topology: Do not warn on missing AMU in cpuhp_topology_online()
arm64: topology: Handle AMU FIE setup on CPU hotplug
cpufreq: Add new helper function returning cpufreq policy
arm64: topology: Skip already covered CPUs when setting freq source
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/cpufreq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 0465d1e6f72a..cc894fc38971 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -203,6 +203,7 @@ struct cpufreq_freqs { #ifdef CONFIG_CPU_FREQ struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu); +struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu); struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); void cpufreq_cpu_put(struct cpufreq_policy *policy); #else @@ -210,6 +211,10 @@ static inline struct cpufreq_policy *cpufreq_cpu_get_raw(unsigned int cpu) { return NULL; } +static inline struct cpufreq_policy *cpufreq_cpu_policy(unsigned int cpu) +{ + return NULL; +} static inline struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu) { return NULL; |
