aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/numa.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-05 22:18:21 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-05 22:18:21 +0100
commit28aaa7bfff26a30206184be1aca7359392b7d1eb (patch)
tree1ad79230713324eebcab3ce4a7421b4f82065758 /xen/include/xen/numa.h
parent86559edc28f0b0f4fb9d09649193b0aab41b0165 (diff)
downloadxen-28aaa7bfff26a30206184be1aca7359392b7d1eb.tar.gz
xen-28aaa7bfff26a30206184be1aca7359392b7d1eb.tar.bz2
xen-28aaa7bfff26a30206184be1aca7359392b7d1eb.zip
ia64: Fix the build by using generic cpu_to_node() abstraction in a
common header file. Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Diffstat (limited to 'xen/include/xen/numa.h')
-rw-r--r--xen/include/xen/numa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/numa.h b/xen/include/xen/numa.h
index 6fe8ad9a8b..80aa3586be 100644
--- a/xen/include/xen/numa.h
+++ b/xen/include/xen/numa.h
@@ -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)