diff options
author | Magnus Damm <damm@opensource.se> | 2010-02-25 06:03:24 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-26 01:29:26 -0500 |
commit | 41bfb7d7a6ce3d8dd83112e65f5d97feefde818a (patch) | |
tree | fc0b6c2430c30aac82377143a364a64967511813 /arch/sh/include | |
parent | da64c2a8dee66ca03f4f3e15d84be7bedf73db3d (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.h | 1 |
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; | |||
92 | #define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */ | 92 | #define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */ |
93 | #define SUSP_SH_SF (1 << 4) /* Enable self-refresh */ | 93 | #define SUSP_SH_SF (1 << 4) /* Enable self-refresh */ |
94 | #define SUSP_SH_MMU (1 << 5) /* Save/restore MMU and cache */ | 94 | #define SUSP_SH_MMU (1 << 5) /* Save/restore MMU and cache */ |
95 | #define SUSP_SH_REGS (1 << 6) /* Save/restore registers */ | ||
95 | 96 | ||
96 | #endif /* _ASM_SH_SUSPEND_H */ | 97 | #endif /* _ASM_SH_SUSPEND_H */ |