acrn-kernel/kernel/power
Rafael J. Wysocki 277c6e2ad7 [PATCH] swsusp: save image header first
This makes the swsusp_info structure become the header of the image in the
literal sense (ie.  it is saved to the swap and read before any other image
data with the help of the swsusp's swap map structure, so generally it is
treated in the same way as the rest of the image).

The main thing it does is to make swsusp_header contain the offset of the swap
map used to track the image data pages rather than the offset of swsusp_info.
 Simultaneously, swsusp_info becomes the first image page written to the swap.

The other changes are generally consequences of the above with a few
exceptions (there's some consolidation in the image reading part as a few
functions turn into trivial wrappers around something else).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:43 -08:00
..
Kconfig
Makefile
console.c
disk.c [PATCH] swsusp: make image size limit tunable 2006-01-06 08:33:42 -08:00
main.c
pm.c
power.h [PATCH] swsusp: save image header first 2006-01-06 08:33:43 -08:00
poweroff.c
process.c
smp.c
snapshot.c
swsusp.c [PATCH] swsusp: save image header first 2006-01-06 08:33:43 -08:00