Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356394
b: refs/heads/master
c: 4e8309b
h: refs/heads/master
v: v3
  • Loading branch information
Cody P Schafer authored and Benjamin Herrenschmidt committed Jan 29, 2013
1 parent c7082fc commit 8db3da2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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: dfd0436ad0ce139467b124c646fa65ee2635e14a
refs/heads/master: 4e8309baedfef8360f5b06ccaff8c45cff73cc4f
11 changes: 4 additions & 7 deletions trunk/arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,10 @@ void __init do_init_bootmem(void)
min_low_pfn = MEMORY_START >> PAGE_SHIFT;
boot_mapsize = init_bootmem_node(NODE_DATA(0), start >> PAGE_SHIFT, min_low_pfn, max_low_pfn);

/* Add active regions with valid PFNs */
for_each_memblock(memory, reg) {
unsigned long start_pfn, end_pfn;
start_pfn = memblock_region_memory_base_pfn(reg);
end_pfn = memblock_region_memory_end_pfn(reg);
memblock_set_node(0, (phys_addr_t)ULLONG_MAX, 0);
}
/* Place all memblock_regions in the same node and merge contiguous
* memblock_regions
*/
memblock_set_node(0, (phys_addr_t)ULLONG_MAX, 0);

/* Add all physical memory to the bootmem map, mark each area
* present.
Expand Down

0 comments on commit 8db3da2

Please sign in to comment.