diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-18 15:48:54 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-06-18 13:00:22 +0300 |
commit | aa03319f28402fa7613d313b411490952b3f9bd4 (patch) | |
tree | e6c254cc566e863570d26627c2958f78ec3eecc0 /arch/arm/mach-shmobile/platsmp.c | |
parent | 1e90fea35b80cfe17718ceecf8898eb4b8188b45 (diff) | |
download | linux-aa03319f28402fa7613d313b411490952b3f9bd4.tar.xz |
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: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/platsmp.c')
-rw-r--r-- | arch/arm/mach-shmobile/platsmp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-shmobile/platsmp.c b/arch/arm/mach-shmobile/platsmp.c index 02e21bceb085..b23378f3d7e1 100644 --- a/arch/arm/mach-shmobile/platsmp.c +++ b/arch/arm/mach-shmobile/platsmp.c @@ -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; -} |