ARM: shmobile: r8a7790: only use smp_init when SMP is selected
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 12 Aug 2016 16:45:09 +0000 (18:45 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 24 Aug 2016 07:08:45 +0000 (09:08 +0200)
We use the helper function which populates the smp_init pointer only in
case of SMP.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7790.c

index 3506327e0bed24227287d4ffa63bbf8099963b6c..78d3e859bd64ad7de8e29db0d42f3b14d30ff266 100644 (file)
@@ -28,7 +28,7 @@ static const char * const r8a7790_boards_compat_dt[] __initconst = {
 };
 
 DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)")
-       .smp_init       = shmobile_smp_init_fallback_ops,
+       .smp_init       = smp_init_ops(shmobile_smp_init_fallback_ops),
        .smp            = smp_ops(r8a7790_smp_ops),
        .init_early     = shmobile_init_delay,
        .init_time      = rcar_gen2_timer_init,
This page took 0.025563 seconds and 5 git commands to generate.