aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/snapshot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 0036955357e0..1b46c2da5a50 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -83,7 +83,7 @@ static int save_highmem_zone(struct zone *zone)
83 void *kaddr; 83 void *kaddr;
84 unsigned long pfn = zone_pfn + zone->zone_start_pfn; 84 unsigned long pfn = zone_pfn + zone->zone_start_pfn;
85 85
86 if (!(pfn%1000)) 86 if (!(pfn%10000))
87 printk("."); 87 printk(".");
88 if (!pfn_valid(pfn)) 88 if (!pfn_valid(pfn))
89 continue; 89 continue;
@@ -122,13 +122,14 @@ int save_highmem(void)
122 struct zone *zone; 122 struct zone *zone;
123 int res = 0; 123 int res = 0;
124 124
125 pr_debug("swsusp: Saving Highmem\n"); 125 pr_debug("swsusp: Saving Highmem");
126 for_each_zone (zone) { 126 for_each_zone (zone) {
127 if (is_highmem(zone)) 127 if (is_highmem(zone))
128 res = save_highmem_zone(zone); 128 res = save_highmem_zone(zone);
129 if (res) 129 if (res)
130 return res; 130 return res;
131 } 131 }
132 printk("\n");
132 return 0; 133 return 0;
133} 134}
134 135