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] Remus: fix ia64 build

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remus: fix ia64 build
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 08 Feb 2010 00:55:13 -0800
Delivery-date: Mon, 08 Feb 2010 00:55:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 1265366244 0
# Node ID 989014ce7b4a92717aece2c44646158b91d9449b
# Parent  a6fac2ba6785159ebfe1d1d68f249d630143656d
Remus: fix ia64 build

This patch fixes the following error:
  /xen-unstable.hg/tools/remus/kmod/sch_queue.c: In function
  `is_foreign':
  /xen-unstable.hg/tools/remus/kmod/sch_queue.c:51: error:
  `phys_to_machine_mapping' undeclared (first use in this function)

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
---
 tools/remus/kmod/sch_queue.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r a6fac2ba6785 -r 989014ce7b4a tools/remus/kmod/sch_queue.c
--- a/tools/remus/kmod/sch_queue.c      Fri Feb 05 10:36:43 2010 +0000
+++ b/tools/remus/kmod/sch_queue.c      Fri Feb 05 10:37:24 2010 +0000
@@ -44,12 +44,17 @@ struct tc_queue_qopt {
 };
 
 /* borrowed from drivers/xen/netback/loopback.c */
+#ifdef CONFIG_X86
 static int is_foreign(unsigned long pfn)
 {
   /* NB. Play it safe for auto-translation mode. */
   return (xen_feature(XENFEAT_auto_translated_physmap) ||
          (phys_to_machine_mapping[pfn] & FOREIGN_FRAME_BIT));
 }
+#else
+/* How to detect a foreign mapping? Play it safe. */
+#define is_foreign(pfn)        (1)
+#endif
 
 static int skb_remove_foreign_references(struct sk_buff *skb)
 {

_______________________________________________
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] Remus: fix ia64 build, Xen patchbot-unstable <=