Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
[linux-2.6-block.git] / arch / arm / mach-exynos / platsmp.c
index 3795412c0189b344a68396ba643c18ca11b4c12c..abcac616423319bf0634bce260a85c3fe9134b60 100644 (file)
@@ -341,9 +341,9 @@ static int exynos_boot_secondary(unsigned int cpu, struct task_struct *idle)
                /* wait max 10 ms until cpu1 is on */
                while (exynos_cpu_power_state(core_id)
                       != S5P_CORE_LOCAL_PWR_EN) {
-                       if (timeout-- == 0)
+                       if (timeout == 0)
                                break;
-
+                       timeout--;
                        mdelay(1);
                }