mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
arm64: enable max frequency capping
Defines arch_scale_max_freq_capacity() to use cpufreq implementation. Change-Id: I06f9ffbe521d5ba317482b09ea0df4488dab197c Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Chris Redpath <chris.redpath@arm.com>
This commit is contained in:
committed by
Quentin Perret
parent
47a69f0911
commit
bcf1c9d86f
@@ -35,6 +35,8 @@ struct sched_domain;
|
||||
#ifdef CONFIG_CPU_FREQ
|
||||
#define arch_scale_freq_capacity cpufreq_scale_freq_capacity
|
||||
extern unsigned long cpufreq_scale_freq_capacity(struct sched_domain *sd, int cpu);
|
||||
#define arch_scale_max_freq_capacity cpufreq_scale_max_freq_capacity
|
||||
extern unsigned long cpufreq_scale_max_freq_capacity(struct sched_domain *sd, int cpu);
|
||||
#endif
|
||||
#define arch_scale_cpu_capacity scale_cpu_capacity
|
||||
extern unsigned long scale_cpu_capacity(struct sched_domain *sd, int cpu);
|
||||
|
||||
Reference in New Issue
Block a user