]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: bL_switcher: hot-unplug half of the available CPUs
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 21 Nov 2012 16:53:27 +0000 (11:53 -0500)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 30 Jul 2013 13:02:16 +0000 (09:02 -0400)
commit9797a0e95ead7bfe52260c369ee9fe6ba445afaf
tree01ed44a4f452c0e62465992066d2c517288d6d27
parentc052de2693498bee6ff2e1b5bcd32309c4f8780b
ARM: bL_switcher: hot-unplug half of the available CPUs

In a regular kernel configuration, all the CPUs are initially available.
But the switcher execution model uses half of them at any time.  Instead
of hacking the DTB to remove half of the CPUs, let's remove them at
run time and make sure we still have a working switcher configuration.
This way, the same DTB can be used whether or not the switcher is used.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
arch/arm/common/bL_switcher.c