Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa03319f authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman
Browse files

ARM: shmobile: Remove unused shmobile_smp_init_fallback_ops()



shmobile_smp_init_fallback_ops() became unused after removing
SoC-specific machine definitions that provided legacy SMP initialization
fallbacks.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 1e90fea3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@ extern void shmobile_smp_sleep(void);
extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn,
			      unsigned long arg);
extern bool shmobile_smp_cpu_can_disable(unsigned int cpu);
extern bool shmobile_smp_init_fallback_ops(void);
extern void shmobile_boot_apmu(void);
extern void shmobile_boot_scu(void);
extern void shmobile_smp_scu_prepare_cpus(phys_addr_t scu_base_phys,
+0 −9
Original line number Diff line number Diff line
@@ -36,12 +36,3 @@ bool shmobile_smp_cpu_can_disable(unsigned int cpu)
	return true; /* Hotplug of any CPU is supported */
}
#endif

bool __init shmobile_smp_init_fallback_ops(void)
{
	/* fallback on PSCI/smp_ops if no other DT based method is detected */
	if (!IS_ENABLED(CONFIG_SMP))
		return false;

	return platform_can_secondary_boot() ? true : false;
}