ARM: 8497/1: initialize cpu_scale to its default
authorJuri Lelli <juri.lelli@arm.com>
Thu, 7 Jan 2016 15:27:33 +0000 (16:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 26 Jan 2016 23:49:02 +0000 (23:49 +0000)
commitd78e13a8a8b795b605eb58a48365591f2e7c690b
treeea450995a3ca3d2ed13c3bd95322a2de65ae861e
parentf19768ce0e84ac8a1ab03f87784bdf94bf94e140
ARM: 8497/1: initialize cpu_scale to its default

Instead of looping through all cpus calling set_capacity_scale, we can
initialise cpu_scale per-cpu variables to SCHED_CAPACITY_SCALE with their
definition.

Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/topology.c