Skip to content

Commit

Permalink
cpumask: convert node_to_cpumask_map[] to cpumask_var_t
Browse files Browse the repository at this point in the history
Impact: fix (CONFIG_MAXSMP=y only) boot crash

c032ef6 "cpumask: convert
node_to_cpumask_map[] to cpumask_var_t" didn't get this one
conversion.  There was a compile warning, but I missed it.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Mike Travis <travis@sgi.com>
LKML-Reference: <200903132342.42813.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Rusty Russell authored and Ingo Molnar committed Mar 13, 2009
1 parent 238a5b4 commit 0b96625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const struct cpumask *cpumask_of_node(int node)
dump_stack();
return cpu_online_mask;
}
return &node_to_cpumask_map[node];
return node_to_cpumask_map[node];
}
EXPORT_SYMBOL(cpumask_of_node);
#endif

0 comments on commit 0b96625

Please sign in to comment.