aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-25 11:03:24 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-02-26 15:29:26 +0900
commit41bfb7d7a6ce3d8dd83112e65f5d97feefde818a (patch)
treefc0b6c2430c30aac82377143a364a64967511813 /arch/sh/include
parentda64c2a8dee66ca03f4f3e15d84be7bedf73db3d (diff)
sh: SH-Mobile R-standby register save/restore
Add code to save/restore registers during R-standby sleep on SH-Mobile processors. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/suspend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/suspend.h b/arch/sh/include/asm/suspend.h
index fe9c2a1ad04..64eb41a063e 100644
--- a/arch/sh/include/asm/suspend.h
+++ b/arch/sh/include/asm/suspend.h
@@ -92,5 +92,6 @@ extern unsigned long sh_mobile_sleep_supported;
#define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */
#define SUSP_SH_SF (1 << 4) /* Enable self-refresh */
#define SUSP_SH_MMU (1 << 5) /* Save/restore MMU and cache */
+#define SUSP_SH_REGS (1 << 6) /* Save/restore registers */
#endif /* _ASM_SH_SUSPEND_H */