Merge branch 'next-seccomp' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux] / kernel / power / snapshot.c
index b0308a2..640b203 100644 (file)
@@ -105,7 +105,7 @@ unsigned long image_size;
 
 void __init hibernate_image_size_init(void)
 {
-       image_size = ((totalram_pages * 2) / 5) * PAGE_SIZE;
+       image_size = ((totalram_pages() * 2) / 5) * PAGE_SIZE;
 }
 
 /*