diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-26 18:23:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-26 18:23:24 -0400 |
commit | 08abe18af1f78ee80c3c3a5ac47c3e0ae0beadf6 (patch) | |
tree | 2be39bf8942edca1bcec735145e144a682ca9cd3 /arch/sh/include/asm/suspend.h | |
parent | f0de70f8bb56952f6e016a65a8a8d006918f5bf6 (diff) | |
parent | 0384e2959127a56d0640505d004d8dd92f9c29f5 (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Conflicts:
drivers/net/wimax/i2400m/usb-notif.c
Diffstat (limited to 'arch/sh/include/asm/suspend.h')
-rw-r--r-- | arch/sh/include/asm/suspend.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/sh/include/asm/suspend.h b/arch/sh/include/asm/suspend.h new file mode 100644 index 000000000000..b1b995370e79 --- /dev/null +++ b/arch/sh/include/asm/suspend.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef _ASM_SH_SUSPEND_H | ||
2 | #define _ASM_SH_SUSPEND_H | ||
3 | |||
4 | #ifndef __ASSEMBLY__ | ||
5 | static inline int arch_prepare_suspend(void) { return 0; } | ||
6 | |||
7 | #include <asm/ptrace.h> | ||
8 | |||
9 | struct swsusp_arch_regs { | ||
10 | struct pt_regs user_regs; | ||
11 | unsigned long bank1_regs[8]; | ||
12 | }; | ||
13 | #endif | ||
14 | |||
15 | /* flags passed to assembly suspend code */ | ||
16 | #define SUSP_SH_SLEEP (1 << 0) /* Regular sleep mode */ | ||
17 | #define SUSP_SH_STANDBY (1 << 1) /* SH-Mobile Software standby mode */ | ||
18 | #define SUSP_SH_RSTANDBY (1 << 2) /* SH-Mobile R-standby mode */ | ||
19 | #define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */ | ||
20 | #define SUSP_SH_SF (1 << 4) /* Enable self-refresh */ | ||
21 | |||
22 | #endif /* _ASM_SH_SUSPEND_H */ | ||