ARM: sched: Avoid empty 'slow' HMP domain
authorJon Medhurst <tixy@linaro.org>
Thu, 29 Jan 2015 09:01:06 +0000 (18:01 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:41:29 +0000 (13:41 +0900)
commitd7731f0a661d7f3ea4ab31445c53f3371a643d14
treea9e4e5d54006962b968b097bc3bc305257efa56f
parent6f81f1ba2f18f5ade4d5de168b403027a13e911f
ARM: sched: Avoid empty 'slow' HMP domain

On homogeneous (non-heterogeneous) systems all CPUs will be declared
'fast' and the slow cpu list will be empty. In this situation we need to
avoid adding an empty slow HMP domain otherwise the scheduler code will
blow up when it attempts to move a task to the slow domain.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
[k.kozlowski: rebased on 4.1, no signed-off-by of previous committer]
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm64/kernel/topology.c