diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-01-24 08:42:41 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-20 03:03:24 +0200 |
commit | 948cf67c4726cca2fc57533dccadfb54d890689d (patch) | |
tree | e763f1b49f66cf2c73b5a902063e2cb828e5d06c /arch/powerpc/include/asm/machdep.h | |
parent | powerpc: Properly handshake CPUs going out of boot spin loop (diff) | |
download | linux-948cf67c4726cca2fc57533dccadfb54d890689d.tar.xz linux-948cf67c4726cca2fc57533dccadfb54d890689d.zip |
powerpc: Add NAP mode support on Power7 in HV mode
Wakeup comes from the system reset handler with a potential loss of
the non-hypervisor CPU state. We save the non-volatile state on the
stack and a pointer to it in the PACA, which the system reset handler
uses to restore things
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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 e4f01915fbb0..493dbb38e1ba 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -267,6 +267,7 @@ struct machdep_calls { extern void e500_idle(void); extern void power4_idle(void); +extern void power7_idle(void); extern void ppc6xx_idle(void); extern void book3e_idle(void); |