PM / Hibernate: Enable suspend to both for in-kernel hibernation.
authorBojan Smojver <bojan@rexursive.com>
Fri, 15 Jun 2012 22:09:58 +0000 (00:09 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 1 Jul 2012 11:31:22 +0000 (13:31 +0200)
commit62c552ccc3eda1198632a4f344aa32623d226bab
treefbd85e76542a715a8e988dddb59e3df859939fb5
parent6887a4131da3adaab011613776d865f4bcfb5678
PM / Hibernate: Enable suspend to both for in-kernel hibernation.

It is often useful to suspend to memory after hibernation image has been
written to disk. If the battery runs out or power is otherwise lost, the
computer will resume from the hibernated image. If not, it will resume
from memory and hibernation image will be discarded.

Signed-off-by: Bojan Smojver <bojan@rexursive.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Documentation/power/swsusp.txt
kernel/power/hibernate.c
kernel/power/power.h
kernel/power/swap.c