WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix build break by using b

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix build break by using bitmap field in cpumask_t.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Dec 2006 17:35:05 +0000
Delivery-date: Wed, 13 Dec 2006 09:40:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix build break by using bitmap field in cpumask_t., Xen patchbot-unstable <=