@@ -46,14 +46,9 @@
/*
* This value is written to the hibernate arch header, and prevents resuming
- * from a hibernate image produced by an incompatible kernel. If you change
- * a value that isn't saved/restored by hibernate, you should change this value.
- *
- * For example, if the mair_el1 values used by the kernel are changed, you
- * should prevent resuming from a kernel with incompatible attributes, as these
- * aren't saved/restored.
+ * from a hibernate image produced by a different kernel version.
*/
-#define HIBERNATE_VERSION KERNEL_VERSION(4, 6, 0)
+#define HIBERNATE_VERSION LINUX_VERSION_CODE
/*
* Start/end of the hibernate exit code, this must be copied to a 'safe'