Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259124
b: refs/heads/master
c: 3d41e0f
h: refs/heads/master
v: v3
  • Loading branch information
Becky Bruce authored and Benjamin Herrenschmidt committed Jun 29, 2011
1 parent 4ae00da commit 7cc23a9
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 72632ce5a4ee8c75aa7cc17eb4473fcf625b8941
refs/heads/master: 3d41e0f6d91cedcab08dff2f5e148b20c87a7432
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,9 @@ void __init mem_init(void)

highmem_mapnr = lowmem_end_addr >> PAGE_SHIFT;
for (pfn = highmem_mapnr; pfn < max_mapnr; ++pfn) {
phys_addr_t paddr = (phys_addr_t)pfn << PAGE_SHIFT;
struct page *page = pfn_to_page(pfn);
if (memblock_is_reserved(pfn << PAGE_SHIFT))
if (memblock_is_reserved(paddr))
continue;
ClearPageReserved(page);
init_page_count(page);
Expand Down

0 comments on commit 7cc23a9

Please sign in to comment.