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] i386: Build fix.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] i386: Build fix.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 07 Mar 2009 06:35:28 -0800
Delivery-date: Sat, 07 Mar 2009 06:36:27 -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 1236366435 0
# Node ID bf8faabbc57a99b9384cace0c34da2b008488c4f
# Parent  7c831b755c7866228dd21b306860f88867e1f0b1
i386: Build fix.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/drivers/passthrough/vtd/x86/vtd.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -r 7c831b755c78 -r bf8faabbc57a xen/drivers/passthrough/vtd/x86/vtd.c
--- a/xen/drivers/passthrough/vtd/x86/vtd.c     Fri Mar 06 19:07:00 2009 +0000
+++ b/xen/drivers/passthrough/vtd/x86/vtd.c     Fri Mar 06 19:07:15 2009 +0000
@@ -153,11 +153,12 @@ void hvm_dpci_isairq_eoi(struct domain *
 
 void iommu_set_dom0_mapping(struct domain *d)
 {
-    u64 i, j, tmp;
-    unsigned long max_pfn = max(max_page, 0x100000000ul >> PAGE_SHIFT);
+    u64 i, j, tmp, max_pfn;
     extern int xen_in_range(paddr_t start, paddr_t end);
 
     BUG_ON(d->domain_id != 0);
+
+    max_pfn = max_t(u64, max_page, 0x100000000ull >> PAGE_SHIFT);
 
     for ( i = 0; i < max_pfn; i++ )
     {

_______________________________________________
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] i386: Build fix., Xen patchbot-unstable <=