mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
ARM: shmobile: r8a7790: 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>
This commit is contained in:
parent
aedc53a959
commit
274607942b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user