summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/machdep.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-07-07 16:31:02 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-07-09 05:26:17 +0400
commit32d8ad4e621d6620e925cf540ef1d35aa6fa5a7b (patch)
tree02f0113e9a7cf78129b671e00244b39e72471c31 /arch/powerpc/include/asm/machdep.h
parent8fe93f8d850a24581e9d47df5814b257fe451052 (diff)
downloadlinux-32d8ad4e621d6620e925cf540ef1d35aa6fa5a7b.tar.xz
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/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 7716e68f7b18..2bad6e5855ad 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);