From: geert+renesas@glider.be (Geert Uytterhoeven)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] ARM: shmobile: Remove unused shmobile_smp_init_fallback_ops()
Date: Fri, 18 May 2018 14:48:54 +0200 [thread overview]
Message-ID: <1526647734-1200-6-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1526647734-1200-1-git-send-email-geert+renesas@glider.be>
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>
---
arch/arm/mach-shmobile/common.h | 1 -
arch/arm/mach-shmobile/platsmp.c | 9 ---------
2 files changed, 10 deletions(-)
diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h
index 43c1ac6962741757..5d2b1473e11eb612 100644
--- a/arch/arm/mach-shmobile/common.h
+++ b/arch/arm/mach-shmobile/common.h
@@ -16,7 +16,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,
diff --git a/arch/arm/mach-shmobile/platsmp.c b/arch/arm/mach-shmobile/platsmp.c
index 02e21bceb0856bc5..b23378f3d7e1726b 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;
-}
--
2.7.4
next prev parent reply other threads:[~2018-05-18 12:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-18 12:48 [PATCH 0/5] ARM: shmobile: rcar-gen2: Remove legacy SMP fallback code Geert Uytterhoeven
2018-05-18 12:48 ` [PATCH 1/5] ARM: shmobile: r8a7790: " Geert Uytterhoeven
2018-05-18 12:48 ` [PATCH 2/5] ARM: shmobile: r8a7790: Use common R-Car Gen2 machine definition Geert Uytterhoeven
2018-05-18 12:48 ` [PATCH 3/5] ARM: shmobile: r8a7791: Remove legacy SMP fallback code Geert Uytterhoeven
2018-05-18 12:48 ` [PATCH 4/5] ARM: shmobile: r8a7791: Use common R-Car Gen2 machine definition Geert Uytterhoeven
2018-05-18 12:48 ` Geert Uytterhoeven [this message]
2018-05-22 8:43 ` [PATCH 0/5] ARM: shmobile: rcar-gen2: Remove legacy SMP fallback code Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1526647734-1200-6-git-send-email-geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).