ARM: sched: Avoid empty 'slow' HMP domain
authorJon Medhurst <tixy@linaro.org>
Fri, 12 Oct 2012 12:45:35 +0000 (13:45 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 12 May 2014 11:02:17 +0000 (12:02 +0100)
commitcf35c25f7ab24ea3217677ed0e8841a3df09f82d
treeb4db44f14af07fac4c0a5e96e0e276e9325e73e8
parentd3ebc6b3de3fb89642ecf7e53172521a4d505b60
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>
arch/arm/kernel/topology.c