ARM: versatile: convert logical CPU numbers to physical numbers
[pandora-kernel.git] / arch / arm / mach-vexpress / hotplug.c
index ea4cbfb..2866ed8 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
                         */