Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48464
b: refs/heads/master
c: f0a5a58
h: refs/heads/master
v: v3
  • Loading branch information
Bob Picco authored and Andi Kleen committed Feb 13, 2007
1 parent 8c1848a commit b888596
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 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: 47a55cd795656d11bb18a7885583361f02a6baa8
refs/heads/master: f0a5a58aa812b31fd9f197c4ba48245942364eae
17 changes: 2 additions & 15 deletions trunk/arch/x86_64/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,20 +460,6 @@ unsigned long __init numa_free_all_bootmem(void)
return pages;
}

#ifdef CONFIG_SPARSEMEM
static void __init arch_sparse_init(void)
{
int i;

for_each_online_node(i)
memory_present(i, node_start_pfn(i), node_end_pfn(i));

sparse_init();
}
#else
#define arch_sparse_init() do {} while (0)
#endif

void __init paging_init(void)
{
int i;
Expand All @@ -483,7 +469,8 @@ void __init paging_init(void)
max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN;
max_zone_pfns[ZONE_NORMAL] = end_pfn;

arch_sparse_init();
sparse_memory_present_with_active_regions(MAX_NUMNODES);
sparse_init();

for_each_online_node(i) {
setup_node_zones(i);
Expand Down

0 comments on commit b888596

Please sign in to comment.