diff options
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r-- | kernel/power/power.h | 3 |
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 | ||
112 | extern unsigned int snapshot_additional_pages(struct zone *zone); | ||
112 | extern int snapshot_read_next(struct snapshot_handle *handle, size_t count); | 113 | extern int snapshot_read_next(struct snapshot_handle *handle, size_t count); |
113 | extern int snapshot_write_next(struct snapshot_handle *handle, size_t count); | 114 | extern int snapshot_write_next(struct snapshot_handle *handle, size_t count); |
114 | int snapshot_image_loaded(struct snapshot_handle *handle); | 115 | extern 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) |