Back out previous patch to ppc idle that handled CPU's that did not have 
powersavings.  Ingo's fixes to cpu_rest, cause this fix to no longer be 
needed.

Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>

---
diff -Nru a/arch/ppc/kernel/idle.c b/arch/ppc/kernel/idle.c
--- a/arch/ppc/kernel/idle.c    2005-01-26 08:39:59 -06:00
+++ b/arch/ppc/kernel/idle.c    2005-01-26 08:39:59 -06:00
@@ -41,17 +41,14 @@
        if (!need_resched()) {
                if (powersave != NULL && !irqs_disabled())
                        powersave();
-               else {
 #ifdef CONFIG_SMP
+               else {
                        set_thread_flag(TIF_POLLING_NRFLAG);
-                       local_irq_enable();
                        while (!need_resched())
                                barrier();
                        clear_thread_flag(TIF_POLLING_NRFLAG);
-#else
-                       local_irq_enable();
-#endif
                }
+#endif
        }
        if (need_resched())
                schedule();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to