ARM: versatile: convert logical CPU numbers to physical numbers
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-vexpress / hotplug.c
index ea4cbfb90a66735978b26131947e54806b669ee6..2866ed8c4b05fd142ef99f49788ed816e7df7ab3 100644 (file)
@@ -70,7 +70,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious)
                    :
                    : "memory", "cc");
 
-               if (pen_release == cpu) {
+               if (pen_release == cpu_logical_map(cpu)) {
                        /*
                         * OK, proper wakeup, we're done
                         */