aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/numa.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-08 10:34:33 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-08 10:34:33 +0100
commite82e07391c18eddbe7f6f969e4c7181468fe232a (patch)
tree225abf0d0bc5784009951f3647ab376bd3a7f873 /xen/arch/x86/numa.c
parentd814eb02551c8d5150947bc5418eff42ec93a07e (diff)
downloadxen-e82e07391c18eddbe7f6f969e4c7181468fe232a.tar.gz
xen-e82e07391c18eddbe7f6f969e4c7181468fe232a.tar.bz2
xen-e82e07391c18eddbe7f6f969e4c7181468fe232a.zip
eliminate cpu_set()
Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/arch/x86/numa.c')
-rw-r--r--xen/arch/x86/numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/numa.c b/xen/arch/x86/numa.c
index 83e9ee38bc..0b869b3f36 100644
--- a/xen/arch/x86/numa.c
+++ b/xen/arch/x86/numa.c
@@ -288,7 +288,7 @@ void __init numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn)
__cpuinit void numa_add_cpu(int cpu)
{
- cpu_set(cpu, node_to_cpumask[cpu_to_node(cpu)]);
+ cpumask_set_cpu(cpu, &node_to_cpumask[cpu_to_node(cpu)]);
}
void __cpuinit numa_set_node(int cpu, int node)