diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-14 04:12:16 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-14 04:13:18 (GMT) |
commit | 34d97e07cc81ab6f1e63696127cc7a5d2c4fce4b (patch) | |
tree | c406c3e1b964c4ec8bcd5650d6a339115b4ef6d3 /arch/powerpc/include/asm/machdep.h | |
parent | 850f22d5688941ea51628f3f8f8dcf3baff409ff (diff) | |
download | linux-fsl-qoriq-34d97e07cc81ab6f1e63696127cc7a5d2c4fce4b.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 2bad6e5..adc8e6c 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 |