Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109941
b: refs/heads/master
c: f9092f3
h: refs/heads/master
i:
  109939: 7eb7911
v: v3
  • Loading branch information
Jonathan Steel authored and Linus Torvalds committed Sep 23, 2008
1 parent 59bbebe commit 7bca7e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 39f00c087d31f668eb6eaf97508af22a32c5b1d9
refs/heads/master: f9092f358bc2ec5367621478811f046f82873376
8 changes: 7 additions & 1 deletion trunk/kernel/kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,14 @@ static struct page *kimage_alloc_page(struct kimage *image,
*old = addr | (*old & ~PAGE_MASK);

/* The old page I have found cannot be a
* destination page, so return it.
* destination page, so return it if it's
* gfp_flags honor the ones passed in.
*/
if (!(gfp_mask & __GFP_HIGHMEM) &&
PageHighMem(old_page)) {
kimage_free_pages(old_page);
continue;
}
addr = old_addr;
page = old_page;
break;
Expand Down

0 comments on commit 7bca7e3

Please sign in to comment.