Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204633
b: refs/heads/master
c: e058166
h: refs/heads/master
i:
  204631: db2ad9c
v: v3
  • Loading branch information
Michal Simek committed Aug 4, 2010
1 parent 349311b commit 840b8cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: ef78705034763ebdf500695deaed599c481318a7
refs/heads/master: e05816679b61e47e90d7455a8f6dc6126dc479e3
7 changes: 1 addition & 6 deletions trunk/arch/microblaze/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,8 @@ void __init setup_memory(void)
* for 4GB of memory, using 4kB pages), plus 1 page
* (in case the address isn't page-aligned).
*/
#ifndef CONFIG_MMU
map_size = init_bootmem_node(NODE_DATA(0), PFN_UP(TOPHYS((u32)klimit)),
min_low_pfn, max_low_pfn);
#else
map_size = init_bootmem_node(&contig_page_data,
map_size = init_bootmem_node(NODE_DATA(0),
PFN_UP(TOPHYS((u32)klimit)), min_low_pfn, max_low_pfn);
#endif
memblock_reserve(PFN_UP(TOPHYS((u32)klimit)) << PAGE_SHIFT, map_size);

/* free bootmem is whole main memory */
Expand Down

0 comments on commit 840b8cb

Please sign in to comment.