ARM: shmobile: r8a7779: Generic SMP ops
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 13 Jul 2015 06:15:02 +0000 (15:15 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 14 Jul 2015 11:39:45 +0000 (20:39 +0900)
Add a r8a7779-specific SMP operation pointer to support
all 4 CPU cores through SMP on r8a7779 without C board code.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7779.c

index 5625fd1c89c07049a094cb7966a46a3d2a15cbf8..2c3e433f84ca217cec67b9e99fca7c6220ec21e6 100644 (file)
@@ -772,6 +772,7 @@ static const char *r8a7779_compat_dt[] __initdata = {
 };
 
 DT_MACHINE_START(R8A7779_DT, "Generic R8A7779 (Flattened Device Tree)")
+       .smp            = smp_ops(r8a7779_smp_ops),
        .map_io         = r8a7779_map_io,
        .init_early     = shmobile_init_delay,
        .init_time      = r8a7779_init_time,