Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145778
b: refs/heads/master
c: b37ab91
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed May 11, 2009
1 parent 6747669 commit a2cfaa5
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 80989ce0643c1034822f3e339ed8d790b649abe1
refs/heads/master: b37ab91907e9002925f4217e3bbd496aa12c2fa3
2 changes: 1 addition & 1 deletion trunk/arch/x86/mm/srat_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static int __init nodes_cover_memory(const struct bootnode *nodes)
pxmram = 0;
}

e820ram = max_pfn - absent_pages_in_range(0, max_pfn);
e820ram = max_pfn - (e820_hole_size(0, max_pfn<<PAGE_SHIFT)>>PAGE_SHIFT);
/* We seem to lose 3 pages somewhere. Allow a bit of slack. */
if ((long)(e820ram - pxmram) >= 1*1024*1024) {
printk(KERN_ERR
Expand Down

0 comments on commit a2cfaa5

Please sign in to comment.