suspend: make progress printing prettier
Subsystems (2)
PATCH 1/1 suspend: make progress printing prettier
Combination of printk/pr_debug led to <7> in the middle of the line, and we printed way too many dots.
Signed-off-by Pavel Machek <[email protected]>
kernel/power/snapshot.c +3 -2
@@ -80,7 +80,7 @@ static int save_highmem_zone(struct zonevoid *kaddr;unsigned long pfn = zone_pfn + zone->zone_start_pfn; -if (!(pfn%1000 )) +if (!(pfn%10000 ))printk ("." );if (!pfn_valid (pfn))continue ;
@@ -121,13 +121,14 @@ int save_highmem(void)struct zone *zone;int res =0 ; -pr_debug ("swsusp: Saving Highmem\n" ); +pr_debug ("swsusp: Saving Highmem" );for_each_zone (zone) {if (is_highmem (zone)) res =save_highmem_zone (zone);if (res)return res; } +printk ("\n" );return 0 ; }
Signature · 1 line
Thanks, Sharp!