ARM: vexpress/realview: consolidate immitation CPU hotplug
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 13 Dec 2018 12:54:26 +0000 (12:54 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 14 Dec 2018 14:44:59 +0000 (14:44 +0000)
commit4fb68e12f2cf93176f1b7542c754a4d0413eb290
treebd7fb50a09268f2012b1a6be1864641eaf10cc47
parent651022382c7f8da46cb4872a545ee1da6d097d2a
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>
arch/arm/mach-realview/Makefile
arch/arm/mach-realview/hotplug.c [deleted file]
arch/arm/mach-realview/hotplug.h [deleted file]
arch/arm/mach-realview/platsmp-dt.c
arch/arm/mach-vexpress/Makefile
arch/arm/mach-vexpress/core.h
arch/arm/mach-vexpress/hotplug.c [deleted file]
arch/arm/mach-vexpress/platsmp.c
arch/arm/plat-versatile/Makefile
arch/arm/plat-versatile/hotplug.c [new file with mode: 0644]
arch/arm/plat-versatile/include/plat/platsmp.h