]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Hibernation: Arbitrary boot kernel support - generic code
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 18 Oct 2007 10:04:52 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:19 +0000 (14:37 -0700)
commitd307c4a8e826c44f9633bd3f7e60d0491e7d885a
tree1e381840363594557c5e31b1bcdc3f491d474039
parent50a1efe14fd56a273cdbe53bf1c7fc12099d2e1a
Hibernation: Arbitrary boot kernel support - generic code

Add the bits needed for supporting arbitrary boot kernels to the common
hibernation code.

To support arbitrary boot kernels, make it possible to replace the 'struct
new_utsname' and the kernel version in the hibernation image header by some
architecture specific data that will be used to verify if the image is valid
and to restore the image.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/power.h
kernel/power/snapshot.c