]> git.baikalelectronics.ru Git - kernel.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)
commit79097c56ee3051cbfedbdff7c6985f4f474172de
tree1e381840363594557c5e31b1bcdc3f491d474039
parent8d0ec14c04bae8d22a146a3f34d44bf5c050bdb7
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