HMP: Check the system has little cpus before forcing rt tasks onto them
authorJon Medhurst (Tixy) <tixy@linaro.org>
Fri, 2 Aug 2013 17:45:33 +0000 (18:45 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 12 May 2014 11:02:20 +0000 (12:02 +0100)
commit2ff9fbe83181eeef6b7f203802e8ea2589f29604
treeac98505edcf1e894043cd9fe9486544621b2a704
parente6b32ae327f3f4b40e40600bdae64d8daf42d878
HMP: Check the system has little cpus before forcing rt tasks onto them

It is sometimes desirable to run a kernel with HMP scheduling enabled
on a system which is not big.LITTLE, e.g. when building a multi-platform
kernel, or when testing a big.LITTLE system with one cluster disabled.

We should therefore allow for the situation where is no little domain.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
kernel/sched/core.c