mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
arm: enable max frequency capping
Defines arch_scale_max_freq_capacity() to use cpufreq implementation. Change-Id: Ibb5e3e04558477862565680e92ed265d8dee743e 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
7b619defb7
commit
47a69f0911
@@ -27,6 +27,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu);
|
||||
|
||||
#ifdef CONFIG_CPU_FREQ
|
||||
#define arch_scale_freq_capacity cpufreq_scale_freq_capacity
|
||||
#define arch_scale_max_freq_capacity cpufreq_scale_max_freq_capacity
|
||||
#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