]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: Enable selection of SMP operations at boot time
authorJon Medhurst <tixy@linaro.org>
Tue, 21 May 2013 13:40:51 +0000 (13:40 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 21 May 2013 13:40:51 +0000 (13:40 +0000)
commitb382b940f821784107ca22de3455bb90e4512557
tree4d4aa0747a13a27dcb7502b54e60ada6cc6d4b08
parent05774088391c7430f6a4c1d5d18196ef17bb3ba9
ARM: Enable selection of SMP operations at boot time

Add a new 'smp_init' hook to machine_desc so platforms can specify a
function to be used to setup smp ops instead of having a statically
defined value.  The hook must return true when smp_ops are initialized.
If false the static mdesc->smp_ops will be used by default.

Add the definition of "bool" by including the linux/types.h file to
asm/mach/arch.h and make it self-contained.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/include/asm/mach/arch.h
arch/arm/kernel/setup.c