Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283004
b: refs/heads/master
c: c6968e7
h: refs/heads/master
v: v3
  • Loading branch information
Stanislaw Gruszka authored and Linus Torvalds committed Jan 11, 2012
1 parent 60206a0 commit bc0d779
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0a32fc5a2e470d0b02597b23ad79a317735253e
refs/heads/master: c6968e73b90c2a2fb9a32d4bad249f8f70f70125
6 changes: 6 additions & 0 deletions trunk/kernel/power/snapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,9 @@ static struct page *saveable_highmem_page(struct zone *zone, unsigned long pfn)
PageReserved(page))
return NULL;

if (page_is_guard(page))
return NULL;

return page;
}

Expand Down Expand Up @@ -920,6 +923,9 @@ static struct page *saveable_page(struct zone *zone, unsigned long pfn)
&& (!kernel_page_present(page) || pfn_is_nosave(pfn)))
return NULL;

if (page_is_guard(page))
return NULL;

return page;
}

Expand Down

0 comments on commit bc0d779

Please sign in to comment.