Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23020
b: refs/heads/master
c: ce6ed29
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Machek authored and Linus Torvalds committed Mar 23, 2006
1 parent b3ee320 commit 2566fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02aaeb9b952f30b1ad6284d5d45be02030f679db
refs/heads/master: ce6ed29f3136bc4b3644ecf4091d6390d444f628
5 changes: 3 additions & 2 deletions trunk/kernel/power/snapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static int save_highmem_zone(struct zone *zone)
void *kaddr;
unsigned long pfn = zone_pfn + zone->zone_start_pfn;

if (!(pfn%1000))
if (!(pfn%10000))
printk(".");
if (!pfn_valid(pfn))
continue;
Expand Down Expand Up @@ -122,13 +122,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;
}

Expand Down

0 comments on commit 2566fa1

Please sign in to comment.