swsusp: use GFP_KERNEL for creating basic data structures
[powerpc.git] / kernel / power / power.h
index 1f8052b..a64d3f2 100644 (file)
@@ -140,6 +140,9 @@ struct resume_swap_area {
 #define PMOPS_ENTER    2
 #define PMOPS_FINISH   3
 
+/* If unset, the snapshot device cannot be open. */
+extern atomic_t snapshot_device_available;
+
 /**
  *     The bitmap is used for tracing allocated swap pages
  *