aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/swsusp.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/swsusp.c')
-rw-r--r--kernel/power/swsusp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/swsusp.c b/kernel/power/swsusp.c
index 1109023d8358..5da304c8f1f6 100644
--- a/kernel/power/swsusp.c
+++ b/kernel/power/swsusp.c
@@ -233,7 +233,7 @@ int swsusp_shrink_memory(void)
233 long size, highmem_size; 233 long size, highmem_size;
234 234
235 highmem_size = count_highmem_pages(); 235 highmem_size = count_highmem_pages();
236 size = count_data_pages() + PAGES_FOR_IO; 236 size = count_data_pages() + PAGES_FOR_IO + SPARE_PAGES;
237 tmp = size; 237 tmp = size;
238 size += highmem_size; 238 size += highmem_size;
239 for_each_zone (zone) 239 for_each_zone (zone)