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>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user