[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] ia64: Fix the build by using generic cpu_to_node() abstraction in a



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1207430301 -3600
# Node ID b1c0a0896488160fd59557ff09e19dbc7b7b4734
# Parent  b7637c5269d133fc0828e76814e7f4333729caec
ia64: Fix the build by using generic cpu_to_node() abstraction in a
common header file.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/include/xen/numa.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b7637c5269d1 -r b1c0a0896488 xen/include/xen/numa.h
--- a/xen/include/xen/numa.h    Fri Apr 04 16:25:52 2008 +0100
+++ b/xen/include/xen/numa.h    Sat Apr 05 22:18:21 2008 +0100
@@ -12,7 +12,7 @@
 
 #define MAX_NUMNODES    (1 << NODES_SHIFT)
 
-#define vcpu_to_node(v) (cpu_to_node[(v)->processor])
+#define vcpu_to_node(v) (cpu_to_node((v)->processor))
 
 #define domain_to_node(d) \
   (((d)->vcpu[0] != NULL) ? vcpu_to_node((d)->vcpu[0]) : NUMA_NO_NODE)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.