Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116967
b: refs/heads/master
c: 4792adb
h: refs/heads/master
i:
  116965: 8e200e7
  116963: a7bdcf2
  116959: c71ae24
v: v3
  • Loading branch information
Jon Tollefson authored and Benjamin Herrenschmidt committed Oct 22, 2008
1 parent c0a6237 commit 4b0fb7d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 71773f0337bee8a3701aaaec22581c18a5f44679
refs/heads/master: 4792adbac9eb41cea77a45ab76258ea10d411173
6 changes: 4 additions & 2 deletions trunk/arch/powerpc/mm/hash_utils_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,10 @@ static int __init htab_dt_scan_hugepage_blocks(unsigned long node,
printk(KERN_INFO "Huge page(16GB) memory: "
"addr = 0x%lX size = 0x%lX pages = %d\n",
phys_addr, block_size, expected_pages);
lmb_reserve(phys_addr, block_size * expected_pages);
add_gpage(phys_addr, block_size, expected_pages);
if (phys_addr + (16 * GB) <= lmb_end_of_DRAM()) {
lmb_reserve(phys_addr, block_size * expected_pages);
add_gpage(phys_addr, block_size, expected_pages);
}
return 0;
}
#endif /* CONFIG_HUGETLB_PAGE */
Expand Down

0 comments on commit 4b0fb7d

Please sign in to comment.