Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5586
b: refs/heads/master
c: 96cd5b0
h: refs/heads/master
v: v3
  • Loading branch information
Mike Kravetz authored and Linus Torvalds committed Aug 2, 2005
1 parent b797927 commit be6947d
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 842bbaaa7394820c8f1fe0629cd15478653caf86
refs/heads/master: 96cd5b0856a25e2ec366702e1923070ffca53dae
7 changes: 6 additions & 1 deletion trunk/arch/ppc64/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,12 @@ void __init do_init_bootmem(void)
new_range:
mem_start = read_n_cells(addr_cells, &memcell_buf);
mem_size = read_n_cells(size_cells, &memcell_buf);
numa_domain = numa_enabled ? of_node_numa_domain(memory) : 0;
if (numa_enabled) {
numa_domain = of_node_numa_domain(memory);
if (numa_domain >= MAX_NUMNODES)
numa_domain = 0;
} else
numa_domain = 0;

if (numa_domain != nid)
continue;
Expand Down

0 comments on commit be6947d

Please sign in to comment.