Revert "ANDROID: sched/fair: add arch scaling function for max frequency capping"

This reverts commit 27ad2abc03.

Upstream has an equivalent feature now, drop the Android-specific
version.

Bug: 120440300
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: If5f89f10cbcd521b095bc2e12f2172349ea512be
This commit is contained in:
Quentin Perret
2020-04-06 16:44:49 +01:00
committed by Greg Kroah-Hartman
parent c65b550185
commit 763fae9cfb
2 changed files with 4 additions and 17 deletions

View File

@@ -2024,15 +2024,6 @@ unsigned long arch_scale_freq_capacity(int cpu)
}
#endif
#ifndef arch_scale_max_freq_capacity
struct sched_domain;
static __always_inline
unsigned long arch_scale_max_freq_capacity(struct sched_domain *sd, int cpu)
{
return SCHED_CAPACITY_SCALE;
}
#endif
#ifdef CONFIG_SMP
#ifdef CONFIG_PREEMPTION