diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2010-07-07 12:31:02 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-09 11:26:17 +1000 |
commit | 32d8ad4e621d6620e925cf540ef1d35aa6fa5a7b (patch) | |
tree | 02f0113e9a7cf78129b671e00244b39e72471c31 /arch/powerpc/include/asm | |
parent | 8fe93f8d850a24581e9d47df5814b257fe451052 (diff) | |
download | op-kernel-dev-32d8ad4e621d6620e925cf540ef1d35aa6fa5a7b.zip op-kernel-dev-32d8ad4e621d6620e925cf540ef1d35aa6fa5a7b.tar.gz |
powerpc/pseries: Partition hibernation support
Enables support for HMC initiated partition hibernation. This is
a firmware assisted hibernation, since the firmware handles writing
the memory out to disk, along with other partition information,
so we just mimic suspend to ram.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-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 7716e68..2bad6e5 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -266,6 +266,7 @@ struct machdep_calls { void (*suspend_disable_irqs)(void); void (*suspend_enable_irqs)(void); #endif + int (*suspend_disable_cpu)(void); #ifdef CONFIG_ARCH_CPU_PROBE_RELEASE ssize_t (*cpu_probe)(const char *, size_t); |