summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/machdep.h
diff options
context:
space:
mode:
authorKumar Gala2008-06-18 23:26:52 +0200
committerKumar Gala2008-06-26 08:48:56 +0200
commitfc4033b2f8b1482022bff3d05505a1b1631bb6de (patch)
treec84b275968011911d8c96acebe89aa2dd92323bf /include/asm-powerpc/machdep.h
parentpowerpc/booke: Add support for new e500mc core (diff)
downloadkernel-qcow2-linux-fc4033b2f8b1482022bff3d05505a1b1631bb6de.tar.gz
kernel-qcow2-linux-fc4033b2f8b1482022bff3d05505a1b1631bb6de.tar.xz
kernel-qcow2-linux-fc4033b2f8b1482022bff3d05505a1b1631bb6de.zip
powerpc/85xx: add DOZE/NAP support for e500 core
The e500 core enter DOZE/NAP power-saving modes when the core go to cpu_idle routine. The power management default running mode is DOZE, If the user echo 1 > /proc/sys/kernel/powersave-nap the system will change to NAP running mode. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/machdep.h')
-rw-r--r--include/asm-powerpc/machdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h
index 54ed64df95b8..989922621e35 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -262,6 +262,7 @@ struct machdep_calls {
#endif
};
+extern void e500_idle(void);
extern void power4_idle(void);
extern void power4_cpu_offline_powersave(void);
extern void ppc6xx_idle(void);