summaryrefslogtreecommitdiff
path: root/arch/arm/plat-versatile/hotplug.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-12-13 15:54:26 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2018-12-14 17:44:59 +0300
commitd9b778e7bf2d37251d7ce365b39ebe86332c7a10 (patch)
treec7ecd13d3acf7e727529fce5835ac7f54f70883d /arch/arm/plat-versatile/hotplug.c
parent830eec24673a982bff4df85ba4d17e4a6ff201a7 (diff)
downloadlinux-d9b778e7bf2d37251d7ce365b39ebe86332c7a10.tar.xz
ARM: versatile: rename and comment SMP implementation
Rename pen_release and boot_lock in the Versatile specific SMP implementation, describe why these exist and state clearly that they should not be used in production implementations. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile/hotplug.c')
-rw-r--r--arch/arm/plat-versatile/hotplug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-versatile/hotplug.c b/arch/arm/plat-versatile/hotplug.c
index e2d3e9035d0f..c974958417fe 100644
--- a/arch/arm/plat-versatile/hotplug.c
+++ b/arch/arm/plat-versatile/hotplug.c
@@ -18,6 +18,8 @@
#include <asm/smp_plat.h>
#include <asm/cp15.h>
+#include <plat/platsmp.h>
+
static inline void versatile_immitation_enter_lowpower(unsigned int actrl_mask)
{
unsigned int v;
@@ -67,7 +69,7 @@ static inline void versatile_immitation_do_lowpower(unsigned int cpu, int *spuri
for (;;) {
wfi();
- if (pen_release == cpu_logical_map(cpu)) {
+ if (versatile_cpu_release == cpu_logical_map(cpu)) {
/*
* OK, proper wakeup, we're done
*/