android_kernel_xiaomi_sm8350/arch/sh/include
Magnus Damm 2ef7f0dab6 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>
2009-03-10 12:55:40 +09:00
..
asm sh: hibernation support 2009-03-10 12:55:40 +09:00
cpu-common/cpu
cpu-sh2/cpu SH2(A) cache update 2008-08-04 16:33:47 +09:00
cpu-sh2a/cpu sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
cpu-sh3/cpu sh: Add platform-specific constants for SH7709 2008-12-22 18:42:54 +09:00
cpu-sh4/cpu sh: Add support for SH7786 CPU subtype. 2009-03-03 15:40:25 +09:00
cpu-sh5/cpu
mach-common/mach sh: Urquell board support. 2009-03-03 16:22:00 +09:00
mach-dreamcast/mach
mach-landisk/mach
mach-se/mach sh: mrshpc_setup_windows() needs to be inline. 2008-12-22 18:44:46 +09:00
mach-sh03/mach