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

login
register
mail settings
Submitter Rafael Wysocki
Date Dec. 11, 2010, 8:17 p.m.
Message ID <201012112117.06636.rjw@sisk.pl>
Download mbox | patch
Permalink /patch/400092/
State New, archived
Headers show

Comments

Patch

Index: linux-2.6/kernel/power/swap.c
===================================================================
--- linux-2.6.orig/kernel/power/swap.c
+++ linux-2.6/kernel/power/swap.c
@@ -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