]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Hibernation: Move low level resume to disk.c
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 8 Dec 2007 01:04:21 +0000 (02:04 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:54 +0000 (18:30 -0500)
commit72df68ca8e006a0107933c4fb13c741a0a48163f
treec6d0d36bffc54989fffcebc8ec1368a47cfa6d65
parent2ed43b63285c394cb5e1829c199cc94c7b8233b9
Hibernation: Move low level resume to disk.c

Move the low level restore code to kernel/power/disk.c , since the
corresponding low level hibernation code is already there.

Make restore fail if device_power_down(PMSG_PRETHAW) returns an
error.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
kernel/power/disk.c
kernel/power/power.h
kernel/power/swsusp.c