cpumask: convert node_to_cpumask_map[] to cpumask_var_t
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 13:12:42 +0000 (23:42 +1030)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 13:35:31 +0000 (14:35 +0100)
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>
arch/x86/mm/numa.c

index ce255e32a59357ef78c188543aff35bc6bc878ad..550df481accd58d8ce23e7c96549f0507b1365b8 100644 (file)
@@ -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