Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71877
b: refs/heads/master
c: df7c487
h: refs/heads/master
i:
  71875: f26cc51
v: v3
  • Loading branch information
Fengguang Wu authored and Adrian Bunk committed Oct 20, 2007
1 parent bf382c8 commit c4552dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 963151297328eea39933bda23959ce5319e99fb7
refs/heads/master: df7c487250b17aa0caeee7d85f120330f1d31355
9 changes: 5 additions & 4 deletions trunk/kernel/power/snapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,11 +1005,12 @@ copy_data_pages(struct memory_bitmap *copy_bm, struct memory_bitmap *orig_bm)
}
memory_bm_position_reset(orig_bm);
memory_bm_position_reset(copy_bm);
do {
for(;;) {
pfn = memory_bm_next_pfn(orig_bm);
if (likely(pfn != BM_END_OF_MAP))
copy_data_page(memory_bm_next_pfn(copy_bm), pfn);
} while (pfn != BM_END_OF_MAP);
if (unlikely(pfn == BM_END_OF_MAP))
break;
copy_data_page(memory_bm_next_pfn(copy_bm), pfn);
}
}

/* Total number of image pages */
Expand Down

0 comments on commit c4552dd

Please sign in to comment.