patch-2.4.22 linux-2.4.22/arch/ppc/kernel/idle.c

Next file: linux-2.4.22/arch/ppc/kernel/idle_6xx.S
Previous file: linux-2.4.22/arch/ppc/kernel/i8259.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/ppc/kernel/idle.c linux-2.4.22/arch/ppc/kernel/idle.c
@@ -34,9 +34,7 @@
 unsigned long powersave_nap;
 unsigned long powersave_lowspeed;
 
-#ifdef CONFIG_6xx
-extern void power_save_6xx(void);
-#endif
+extern void power_save(void);
 
 int idled(void)
 {
@@ -66,10 +64,8 @@
 			}
 		}
 #endif
-#ifdef CONFIG_6xx
 		if (do_power_save && !current->need_resched)
-			power_save_6xx();
-#endif /* CONFIG_6xx */			
+			power_save();
 
 		if (current->need_resched) {
 			schedule();
@@ -86,5 +82,5 @@
 int cpu_idle(void)
 {
 	idled();
-	return 0; 
+	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)