[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix build break by using bitmap field in cpumask_t.
# HG changeset patch # User Hollis Blanchard <hollisb@xxxxxxxxxx> # Node ID 0aea81b1e75798d296268ef90b15b75ba10a3d28 # Parent af39d20b2b728941421ef18e5c5b1012852eec80 [POWERPC][XEN] Fix build break by using bitmap field in cpumask_t. Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- xen/arch/x86/numa.c | 2 +- xen/include/asm-x86/numa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -r af39d20b2b72 -r 0aea81b1e757 xen/arch/x86/numa.c --- a/xen/arch/x86/numa.c Tue Dec 12 11:17:27 2006 -0600 +++ b/xen/arch/x86/numa.c Tue Dec 12 13:51:29 2006 -0600 @@ -214,7 +214,7 @@ void __init numa_initmem_init(unsigned l __cpuinit void numa_add_cpu(int cpu) { - set_bit(cpu, &node_to_cpumask[cpu_to_node(cpu)]); + set_bit(cpu, node_to_cpumask[cpu_to_node(cpu)].bits); } void __cpuinit numa_set_node(int cpu, int node) diff -r af39d20b2b72 -r 0aea81b1e757 xen/include/asm-x86/numa.h --- a/xen/include/asm-x86/numa.h Tue Dec 12 11:17:27 2006 -0600 +++ b/xen/include/asm-x86/numa.h Tue Dec 12 13:51:29 2006 -0600 @@ -37,7 +37,7 @@ extern void __init init_cpu_to_node(void static inline void clear_node_cpumask(int cpu) { - clear_bit(cpu, &node_to_cpumask[cpu_to_node(cpu)]); + clear_bit(cpu, node_to_cpumask[cpu_to_node(cpu)].bits); } /* Simple perfect hash to map physical addresses to node numbers */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |