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] ia64: Fix the build by using generic cpu_

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] ia64: Fix the build by using generic cpu_to_node() abstraction in a
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 08 Apr 2008 02:01:42 -0700
Delivery-date: Tue, 08 Apr 2008 02:05:40 -0700
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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] ia64: Fix the build by using generic cpu_to_node() abstraction in a, Xen patchbot-unstable <=