arm64: SMP: rework the SMP code to be enabling method agnostic
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 2 Jan 2013 15:24:22 +0000 (15:24 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 29 Jan 2013 16:56:37 +0000 (16:56 +0000)
commitd329de3f2ada413c7cd16e1dc1d70d4abc7309e9
treeae7880c26aa4bc2ac1ac5b3b983e992638e49f67
parent75e424620a4f8247e8877c224d0457efadf88201
arm64: SMP: rework the SMP code to be enabling method agnostic

In order to introduce PSCI support, let the SMP code handle
multiple enabling methods. This also allow CPUs to be booted
using different methods (though this feels a bit weird...).

In the process, move the spin-table code to its own file.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/smp.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/smp.c
arch/arm64/kernel/smp_spin_table.c [new file with mode: 0644]