diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-12-13 13:54:26 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-12-14 15:44:59 +0100 |
commit | d9b778e7bf2d37251d7ce365b39ebe86332c7a10 (patch) | |
tree | c7ecd13d3acf7e727529fce5835ac7f54f70883d /arch/arm/plat-versatile/hotplug.c | |
parent | ARM: versatile: convert boot_lock to raw (diff) | |
download | linux-d9b778e7bf2d37251d7ce365b39ebe86332c7a10.tar.xz linux-d9b778e7bf2d37251d7ce365b39ebe86332c7a10.zip |
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.c | 4 |
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 */ |