arm64: topology: Initialise default topology state immediately
authorMark Brown <broonie@linaro.org>
Sun, 6 Apr 2014 18:45:45 +0000 (19:45 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 9 May 2014 20:38:43 +0000 (21:38 +0100)
commit8759b2d0f8067d726c269602ffe310221437ce5e
tree0f1a9f08aa5b616ff96663a93d1451030ab04a83
parent503df7650a88182264aeeb3c7893059a594ea20a
arm64: topology: Initialise default topology state immediately

As a legacy of the way 32 bit ARM did things the topology code uses a null
topology map by default and then overwrites it by mapping cores with no
information to a cluster by themselves later. In order to make it simpler
to reset things as part of recovering from parse failures in firmware
information directly set this configuration on init. A core will always be
its own sibling so there should be no risk of confusion with firmware
provided information.

Signed-off-by: Mark Brown <broonie@linaro.org>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm64/kernel/topology.c