mirror of https://gitee.com/openkylin/linux.git
3972863aad
We need to maintain backwards compatibility with device trees that don't define an enable method. At the same time we want the device tree to be able to specify an enable-method and have it stick. Previously by having smp assigned in the DT_MACHINE definition this would be picked up by setup_arch() and override whatever arm_dt_init_cpu_maps() had configured. Now we move the initial assignment of default smp_ops to a dt_fixup and let arm_dt_init_cpu_maps() override that if the device tree defines an enable-method. [olof@lixom.net: Wrap set_smp_ops() in CONFIG_SMP.] Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com> (on AX3) Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
armada-370-xp.h | ||
board-v7.c | ||
coherency.c | ||
coherency.h | ||
coherency_ll.S | ||
common.h | ||
cpu-reset.c | ||
dove.c | ||
headsmp-a9.S | ||
headsmp.S | ||
kirkwood-pm.c | ||
kirkwood-pm.h | ||
kirkwood.c | ||
kirkwood.h | ||
mvebu-soc-id.c | ||
mvebu-soc-id.h | ||
platsmp-a9.c | ||
platsmp.c | ||
pm-board.c | ||
pm.c | ||
pmsu.c | ||
pmsu.h | ||
pmsu_ll.S | ||
system-controller.c |