Commit be8cd644 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

PM / Hibernate: Restore old swap signature to avoid user space breakage

Commit 3624eb04 (PM / Hibernate: Modify signature used to mark swap)
attempted to modify hibernate signature used to mark swap partitions
containing hibernation images, so that old kernels don't try to
handle compressed images.  However, this change broke resume from
hibernation on Fedora 14 that apparently doesn't pass the resume=
argument to the kernel and tries to trigger resume from early user
space.  This doesn't work, because the signature is now different,
so the old signature has to be restored to avoid the problem.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=22732 .
Reported-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Reported-by: default avatarZhang Rui <rui.zhang@intel.com>
Reported-by: default avatarPascal Chapperon <pascal.chapperon@wanadoo.fr>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 1497dd1d
......@@ -30,7 +30,7 @@
#include "power.h"
#define HIBERNATE_SIG "LINHIB0001"
#define HIBERNATE_SIG "S1SUSPEND"
/*
* The swap map is a data structure used for keeping track of each page
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment