aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-oxnas/platsmp.c
diff options
context:
space:
mode:
authorRussell King2018-12-13 12:54:26 +0000
committerRussell King2019-02-01 21:59:15 +0000
commit0eb037998afe5514c8534276c152da31d2fabf07 (patch)
tree3e02f528c3c0a6b872908c10eaf636e33483dbda /arch/arm/mach-oxnas/platsmp.c
parentd0e22329e1a51548bdeeae66bc35fe2dc1cabdf6 (diff)
ARM: oxnas: remove CPU hotplug implementation
The CPU hotplug implementation on this platform is cargo-culted from the plat-versatile implementation, and is buggy. Once a CPU hits the "low power" loop, it will wait for pen_release to be set to the CPU number to wake up again - but nothing in this implementation does that. So, once a CPU has entered cpu_die() it will never, ever leave. Remove this useless cargo-culted implementation. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-oxnas/platsmp.c')
-rw-r--r--arch/arm/mach-oxnas/platsmp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-oxnas/platsmp.c b/arch/arm/mach-oxnas/platsmp.c
index 442cc8a2f7dc..735141c0e3a3 100644
--- a/arch/arm/mach-oxnas/platsmp.c
+++ b/arch/arm/mach-oxnas/platsmp.c
@@ -19,7 +19,6 @@
#include <asm/smp_scu.h>
extern void ox820_secondary_startup(void);
-extern void ox820_cpu_die(unsigned int cpu);
static void __iomem *cpu_ctrl;
static void __iomem *gic_cpu_ctrl;
@@ -94,9 +93,6 @@ unmap_scu:
static const struct smp_operations ox820_smp_ops __initconst = {
.smp_prepare_cpus = ox820_smp_prepare_cpus,
.smp_boot_secondary = ox820_boot_secondary,
-#ifdef CONFIG_HOTPLUG_CPU
- .cpu_die = ox820_cpu_die,
-#endif
};
CPU_METHOD_OF_DECLARE(ox820_smp, "oxsemi,ox820-smp", &ox820_smp_ops);