Merge branch 'devel-stable' into devel
[deliverable/linux.git] / arch / arm / kernel / smp.c
index 7a3cc0266934015525c85a9ba390b3e9dabcf433..b8c3d0f689d9560cc33a7e8ec06958ad216e7ef1 100644 (file)
@@ -86,6 +86,12 @@ int __cpuinit __cpu_up(unsigned int cpu)
                        return PTR_ERR(idle);
                }
                ci->idle = idle;
+       } else {
+               /*
+                * Since this idle thread is being re-used, call
+                * init_idle() to reinitialize the thread structure.
+                */
+               init_idle(idle, cpu);
        }
 
        /*
This page took 0.024772 seconds and 5 git commands to generate.