summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/hotplug.c')
-rw-r--r--arch/arm/mach-ux500/hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/hotplug.c b/arch/arm/mach-ux500/hotplug.c
index dd8037ebccf8..572015e57cd9 100644
--- a/arch/arm/mach-ux500/hotplug.c
+++ b/arch/arm/mach-ux500/hotplug.c
@@ -24,7 +24,7 @@ static inline void platform_do_lowpower(unsigned int cpu)
for (;;) {
__asm__ __volatile__("dsb\n\t" "wfi\n\t"
: : : "memory");
- if (pen_release == cpu) {
+ if (pen_release == cpu_logical_map(cpu)) {
/*
* OK, proper wakeup, we're done
*/