diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-13 09:12:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 09:35:31 -0400 |
commit | 0b966252d9e5d95ec2d11e63d7e55b42913aa5b7 (patch) | |
tree | 7f607aea10d30ffb0e0a0d364b6d0062d036949c /arch/x86/mm | |
parent | 238a5b4bff2e0929a9ceb41f340137f36a6a75d9 (diff) |
cpumask: convert node_to_cpumask_map[] to cpumask_var_t
Impact: fix (CONFIG_MAXSMP=y only) boot crash
c032ef60d1aa9af33730b7a35bbea751b131adc1 "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>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index ce255e32a593..550df481accd 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c | |||
@@ -61,7 +61,7 @@ const struct cpumask *cpumask_of_node(int node) | |||
61 | dump_stack(); | 61 | dump_stack(); |
62 | return cpu_online_mask; | 62 | return cpu_online_mask; |
63 | } | 63 | } |
64 | return &node_to_cpumask_map[node]; | 64 | return node_to_cpumask_map[node]; |
65 | } | 65 | } |
66 | EXPORT_SYMBOL(cpumask_of_node); | 66 | EXPORT_SYMBOL(cpumask_of_node); |
67 | #endif | 67 | #endif |