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)
committerMark Brown <broonie@linaro.org>
Sun, 4 Aug 2013 12:15:46 +0000 (13:15 +0100)
commitc5021c1eb9c73f38209180c65bd074ac70c97587
treeade68539c62c0141ba0ac2987423d8aa6fa432a6
parenta0e1bccdf9f1c4d68ea024e4254dbbd1eff96a4a
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