aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r--kernel/power/power.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index 1f8052bda0f7..a64d3f22de97 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -140,6 +140,9 @@ struct resume_swap_area {
140#define PMOPS_ENTER 2 140#define PMOPS_ENTER 2
141#define PMOPS_FINISH 3 141#define PMOPS_FINISH 3
142 142
143/* If unset, the snapshot device cannot be open. */
144extern atomic_t snapshot_device_available;
145
143/** 146/**
144 * The bitmap is used for tracing allocated swap pages 147 * The bitmap is used for tracing allocated swap pages
145 * 148 *