diff options
author | Morten Rasmussen <morten.rasmussen@arm.com> | 2015-04-14 16:25:31 +0100 |
---|---|---|
committer | Leo Yan <leo.yan@linaro.org> | 2016-05-10 16:49:49 +0800 |
commit | 0f8edc82743fd749a3536c68386c89112e760792 (patch) | |
tree | 1ceb565e06f2e289d67428bf5f977cbf88fe1084 /arch/arm/kernel | |
parent | 8411396e9c5cd1badfe05e08624d90cbbb7b1126 (diff) |
arm: Update arch_scale_cpu_capacity() to reflect change to define
arch_scale_cpu_capacity() is no longer a weak function but a #define
instead. Include the #define in topology.h.
cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index 08b7847bf912..614554765e44 100644 --- a/arch/arm/kernel/topology.c +++ b/arch/arm/kernel/topology.c @@ -42,7 +42,7 @@ */ static DEFINE_PER_CPU(unsigned long, cpu_scale); -unsigned long arch_scale_cpu_capacity(struct sched_domain *sd, int cpu) +unsigned long scale_cpu_capacity(struct sched_domain *sd, int cpu) { return per_cpu(cpu_scale, cpu); } |