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, 2 insertions, 1 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index e18ba207e784..6e9e2acc34f8 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -109,9 +109,10 @@ struct snapshot_handle {
109 */ 109 */
110#define data_of(handle) ((handle).buffer + (handle).buf_offset) 110#define data_of(handle) ((handle).buffer + (handle).buf_offset)
111 111
112extern unsigned int snapshot_additional_pages(struct zone *zone);
112extern int snapshot_read_next(struct snapshot_handle *handle, size_t count); 113extern int snapshot_read_next(struct snapshot_handle *handle, size_t count);
113extern int snapshot_write_next(struct snapshot_handle *handle, size_t count); 114extern int snapshot_write_next(struct snapshot_handle *handle, size_t count);
114int snapshot_image_loaded(struct snapshot_handle *handle); 115extern int snapshot_image_loaded(struct snapshot_handle *handle);
115 116
116#define SNAPSHOT_IOC_MAGIC '3' 117#define SNAPSHOT_IOC_MAGIC '3'
117#define SNAPSHOT_FREEZE _IO(SNAPSHOT_IOC_MAGIC, 1) 118#define SNAPSHOT_FREEZE _IO(SNAPSHOT_IOC_MAGIC, 1)