diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-03-06 04:47:02 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-09 23:55:40 -0400 |
commit | 2ef7f0dab6b3d171b6aff00a47077385ae3155b5 (patch) | |
tree | 6066996e7dfc65b02470ae4c1c96c6c7c70965a6 /arch/sh/kernel/Makefile_32 | |
parent | edab56f4c90f45ba4e61d06d3fc9658da4e94bde (diff) |
sh: hibernation support
Add Suspend-to-disk / swsusp / CONFIG_HIBERNATION support
to the SuperH architecture.
To suspend, use "swapon /dev/sda2; echo disk > /sys/power/state"
To resume, pass "resume=/dev/sda2" on the kernel command line.
The patch "pm: rework includes, remove arch ifdefs V2" is
needed to allow the generic swsusp code to build properly.
Hibernation is not enabled with this patch though, a patch
setting ARCH_HIBERNATION_POSSIBLE will be submitted later.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/Makefile_32')
-rw-r--r-- | arch/sh/kernel/Makefile_32 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/Makefile_32 b/arch/sh/kernel/Makefile_32 index 2e1b86e16ab5..82a3a150c00d 100644 --- a/arch/sh/kernel/Makefile_32 +++ b/arch/sh/kernel/Makefile_32 | |||
@@ -30,5 +30,6 @@ obj-$(CONFIG_KPROBES) += kprobes.o | |||
30 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o | 30 | obj-$(CONFIG_GENERIC_GPIO) += gpio.o |
31 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o | 31 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
32 | obj-$(CONFIG_DUMP_CODE) += disassemble.o | 32 | obj-$(CONFIG_DUMP_CODE) += disassemble.o |
33 | obj-$(CONFIG_HIBERNATION) += swsusp.o | ||
33 | 34 | ||
34 | EXTRA_CFLAGS += -Werror | 35 | EXTRA_CFLAGS += -Werror |