ia64/xen-unstable

changeset 17395:b1c0a0896488

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>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Apr 05 22:18:21 2008 +0100 (2008-04-05)
parents b7637c5269d1
children e0f9bee70cbf
files xen/include/xen/numa.h
line diff
     1.1 --- a/xen/include/xen/numa.h	Fri Apr 04 16:25:52 2008 +0100
     1.2 +++ b/xen/include/xen/numa.h	Sat Apr 05 22:18:21 2008 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  
     1.5  #define MAX_NUMNODES    (1 << NODES_SHIFT)
     1.6  
     1.7 -#define vcpu_to_node(v) (cpu_to_node[(v)->processor])
     1.8 +#define vcpu_to_node(v) (cpu_to_node((v)->processor))
     1.9  
    1.10  #define domain_to_node(d) \
    1.11    (((d)->vcpu[0] != NULL) ? vcpu_to_node((d)->vcpu[0]) : NUMA_NO_NODE)