diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-08-12 12:45:10 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-08-24 03:08:57 -0400 |
commit | 82acc69402d91bde8657c0db26e5211943de65fd (patch) | |
tree | e1c36de50949efcbc865e9868330616e803a0261 /arch/arm/mach-shmobile | |
parent | 274607942b789f3a26a11f68464f1f0c15995e87 (diff) |
ARM: shmobile: r8a7791: only use smp_init when SMP is selected
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7791.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7791.c b/arch/arm/mach-shmobile/setup-r8a7791.c index 110e8b588e56..26e2d181a190 100644 --- a/arch/arm/mach-shmobile/setup-r8a7791.c +++ b/arch/arm/mach-shmobile/setup-r8a7791.c | |||
@@ -29,7 +29,7 @@ static const char *const r8a7791_boards_compat_dt[] __initconst = { | |||
29 | }; | 29 | }; |
30 | 30 | ||
31 | DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") | 31 | DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)") |
32 | .smp_init = shmobile_smp_init_fallback_ops, | 32 | .smp_init = smp_init_ops(shmobile_smp_init_fallback_ops), |
33 | .smp = smp_ops(r8a7791_smp_ops), | 33 | .smp = smp_ops(r8a7791_smp_ops), |
34 | .init_early = shmobile_init_delay, | 34 | .init_early = shmobile_init_delay, |
35 | .init_time = rcar_gen2_timer_init, | 35 | .init_time = rcar_gen2_timer_init, |