diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-13 10:24:20 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-13 10:24:20 +0000 |
commit | b487bfe8e29ef604b40d35bf5f0b2808fb7a6454 (patch) | |
tree | bd30f43f0445adbb887ed6e0017de2733f08cbfc /xen/arch/x86/numa.c | |
parent | 15e8ea54ac4434cef024c9f9b52baafcc059d82d (diff) | |
download | xen-b487bfe8e29ef604b40d35bf5f0b2808fb7a6454.tar.gz xen-b487bfe8e29ef604b40d35bf5f0b2808fb7a6454.tar.bz2 xen-b487bfe8e29ef604b40d35bf5f0b2808fb7a6454.zip |
[XEN] Use cpumask macros to update numa node masks.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/numa.c')
-rw-r--r-- | xen/arch/x86/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/numa.c b/xen/arch/x86/numa.c index 23255eb769..386234fd47 100644 --- a/xen/arch/x86/numa.c +++ b/xen/arch/x86/numa.c @@ -214,7 +214,7 @@ void __init numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn) __cpuinit void numa_add_cpu(int cpu) { - set_bit(cpu, node_to_cpumask[cpu_to_node(cpu)].bits); + cpu_set(cpu, node_to_cpumask[cpu_to_node(cpu)]); } void __cpuinit numa_set_node(int cpu, int node) |