]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit883ce8b9361284930da37f19e5dd13bc8af9e931
treebd7fb50a09268f2012b1a6be1864641eaf10cc47
parentf630c74755763954e46ada22cb887770a3c4fdd4
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