Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245719
b: refs/heads/master
c: a56bca8
h: refs/heads/master
i:
  245717: 2d0117d
  245715: f8c63c3
  245711: 42c0f57
v: v3
  • Loading branch information
Yinghai Lu authored and Tejun Heo committed May 2, 2011
1 parent f22b979 commit 2e5a9d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1b7e03ef7570568d2fb9e6640d7006a0edd728f6
refs/heads/master: a56bca80db8903bb557b9ac38da68dc5b98ea672
6 changes: 3 additions & 3 deletions trunk/arch/x86/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ int __init numa_add_memblk(int nid, u64 start, u64 end)
return numa_add_memblk_to(nid, start, end, &numa_meminfo);
}

/* Initialize bootmem allocator for a node */
static void __init setup_node_bootmem(int nid, u64 start, u64 end)
/* Initialize NODE_DATA for a node on the local memory */
static void __init setup_node_data(int nid, u64 start, u64 end)
{
const u64 nd_low = PFN_PHYS(MAX_DMA_PFN);
const u64 nd_high = PFN_PHYS(max_pfn_mapped);
Expand Down Expand Up @@ -522,7 +522,7 @@ static int __init numa_register_memblks(struct numa_meminfo *mi)
}

if (start < end)
setup_node_bootmem(nid, start, end);
setup_node_data(nid, start, end);
}

return 0;
Expand Down

0 comments on commit 2e5a9d5

Please sign in to comment.