diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-04-05 22:18:21 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-04-05 22:18:21 +0100 |
commit | 28aaa7bfff26a30206184be1aca7359392b7d1eb (patch) | |
tree | 1ad79230713324eebcab3ce4a7421b4f82065758 /xen/include/xen/numa.h | |
parent | 86559edc28f0b0f4fb9d09649193b0aab41b0165 (diff) | |
download | xen-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.h | 2 |
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) |