• Magnus Damm's avatar
    sh: hibernation support · 2ef7f0da
    Magnus Damm authored
    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: default avatarMagnus Damm <damm@igel.co.jp>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    2ef7f0da
Makefile 917 Bytes