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)
committerJon Medhurst <tixy@linaro.org>
Thu, 5 Sep 2013 16:50:06 +0000 (17:50 +0100)
commit0d5ddd14a8e67d35fad79caf479cca54a6788cc9
tree7bf034ad31d46e2ce253bc1aaa2c19f679ab1eab
parent4ab2679351e9566a6b0822f2d841a902758ba066
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