Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365423
b: refs/heads/master
c: d2ad351
h: refs/heads/master
i:
  365421: 2275b9c
  365419: 28c1a08
  365415: 1df9ffb
  365407: a7bd890
v: v3
  • Loading branch information
Cody P Schafer authored and Linus Torvalds committed Apr 29, 2013
1 parent 0198faa commit 28ed105
Show file tree
Hide file tree
Showing 2 changed files with 4 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: f9872caf07c1c774034b8bddde7d4a3a7f4a6484
refs/heads/master: d2ad351e36e333c6e1a474b2c5d635828f53a173
9 changes: 3 additions & 6 deletions trunk/arch/x86/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,11 @@ void numa_clear_node(int cpu)
*/
void __init setup_node_to_cpumask_map(void)
{
unsigned int node, num = 0;
unsigned int node;

/* setup nr_node_ids if not done yet */
if (nr_node_ids == MAX_NUMNODES) {
for_each_node_mask(node, node_possible_map)
num = node;
nr_node_ids = num + 1;
}
if (nr_node_ids == MAX_NUMNODES)
setup_nr_node_ids();

/* allocate the map */
for (node = 0; node < nr_node_ids; node++)
Expand Down

0 comments on commit 28ed105

Please sign in to comment.