summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/machdep.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2010-07-14 06:12:16 +0200
committerBenjamin Herrenschmidt2010-07-14 06:13:18 +0200
commit34d97e07cc81ab6f1e63696127cc7a5d2c4fce4b (patch)
treec406c3e1b964c4ec8bcd5650d6a339115b4ef6d3 /arch/powerpc/include/asm/machdep.h
parentpowerpc/book3e: Resend doorbell exceptions to ourself (diff)
downloadkernel-qcow2-linux-34d97e07cc81ab6f1e63696127cc7a5d2c4fce4b.tar.gz
kernel-qcow2-linux-34d97e07cc81ab6f1e63696127cc7a5d2c4fce4b.tar.xz
kernel-qcow2-linux-34d97e07cc81ab6f1e63696127cc7a5d2c4fce4b.zip
powerpc/book3e: Add generic 64-bit idle powersave support
We use a similar technique to ppc32: We set a thread local flag to indicate that we are about to enter or have entered the stop state, and have fixup code in the async interrupt entry code that reacts to this flag to make us return to a different location (sets NIP to LINK in our case). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> -- v2. Fix lockdep bug Re-mask interrupts when coming back from idle
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r--arch/powerpc/include/asm/machdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h
index 2bad6e5855ad..adc8e6cdf339 100644
--- a/arch/powerpc/include/asm/machdep.h
+++ b/arch/powerpc/include/asm/machdep.h
@@ -278,6 +278,7 @@ extern void e500_idle(void);
extern void power4_idle(void);
extern void power4_cpu_offline_powersave(void);
extern void ppc6xx_idle(void);
+extern void book3e_idle(void);
/*
* ppc_md contains a copy of the machine description structure for the