summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-versatile/include/plat
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-12-13 13:54:26 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-12-14 15:44:59 +0100
commit4fb68e12f2cf93176f1b7542c754a4d0413eb290 (patch)
treebd7fb50a09268f2012b1a6be1864641eaf10cc47 /arch/arm/plat-versatile/include/plat
parentLinux 4.20-rc1 (diff)
downloadlinux-4fb68e12f2cf93176f1b7542c754a4d0413eb290.tar.xz
linux-4fb68e12f2cf93176f1b7542c754a4d0413eb290.zip
ARM: vexpress/realview: consolidate immitation CPU hotplug
The only difference between the hotplug implementation for Realview and Versatile Express are the bit in the auxiliary control register to disable coherency. Combine the two implentations accounting for that difference. Rename the functions to try to discourage cargo-cult copying of this code. Tested-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile/include/plat')
-rw-r--r--arch/arm/plat-versatile/include/plat/platsmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-versatile/include/plat/platsmp.h b/arch/arm/plat-versatile/include/plat/platsmp.h
index 50fb830192e0..9fff1f241c9e 100644
--- a/arch/arm/plat-versatile/include/plat/platsmp.h
+++ b/arch/arm/plat-versatile/include/plat/platsmp.h
@@ -12,3 +12,4 @@
extern void versatile_secondary_startup(void);
extern void versatile_secondary_init(unsigned int cpu);
extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle);
+void versatile_immitation_cpu_die(unsigned int cpu, unsigned int actrl_mask);