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
- Lines: 30
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/kernel/idle.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
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)