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] Fix the build after AMD IOMMU patches.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix the build after AMD IOMMU patches.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Sep 2007 03:41:15 -0700
Delivery-date: Wed, 26 Sep 2007 04:28:22 -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@xxxxxxxxxxxxx>
# Date 1190548571 -3600
# Node ID d17532dc1725e58b787329f64ce2e4e0e79516f0
# Parent  4fdcea9881b24a76c23c8b12b12cf3b66cba4a33
Fix the build after AMD IOMMU patches.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-detect.c |    2 +-
 xen/arch/x86/hvm/svm/amd_iommu/pci-amd-iommu.c    |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff -r 4fdcea9881b2 -r d17532dc1725 
xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-detect.c
--- a/xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-detect.c Sun Sep 23 12:55:50 
2007 +0100
+++ b/xen/arch/x86/hvm/svm/amd_iommu/amd-iommu-detect.c Sun Sep 23 12:56:11 
2007 +0100
@@ -103,7 +103,7 @@ int __init get_iommu_capabilities(u8 bus
 
     if ( (mmio_bar == 0) || ( (mmio_bar & 0x3FFF) != 0 ) ) {
         dprintk(XENLOG_ERR ,
-            "AMD IOMMU: Invalid MMIO_BAR = 0x%lx\n", mmio_bar);
+                "AMD IOMMU: Invalid MMIO_BAR = 0x%"PRIx64"\n", mmio_bar);
         return -ENODEV;
     }
 
diff -r 4fdcea9881b2 -r d17532dc1725 
xen/arch/x86/hvm/svm/amd_iommu/pci-amd-iommu.c
--- a/xen/arch/x86/hvm/svm/amd_iommu/pci-amd-iommu.c    Sun Sep 23 12:55:50 
2007 +0100
+++ b/xen/arch/x86/hvm/svm/amd_iommu/pci-amd-iommu.c    Sun Sep 23 12:56:11 
2007 +0100
@@ -224,8 +224,8 @@ struct amd_iommu *find_iommu_for_device(
     return NULL;
 }
 
-void amd_iommu_setup_domain_device(struct domain *domain,
-        struct amd_iommu *iommu, int requestor_id)
+void amd_iommu_setup_domain_device(
+    struct domain *domain, struct amd_iommu *iommu, int requestor_id)
 {
     void *dte;
     u64 root_ptr;
@@ -244,8 +244,8 @@ void amd_iommu_setup_domain_device(struc
         root_ptr, hd->domain_id, hd->paging_mode);
 
     dprintk(XENLOG_INFO, "AMD IOMMU: Set DTE req_id:%x, "
-        "root_ptr:%lx, domain_id:%d, paging_mode:%d\n",
-        requestor_id, root_ptr, hd->domain_id, hd->paging_mode);
+            "root_ptr:%"PRIx64", domain_id:%d, paging_mode:%d\n",
+            requestor_id, root_ptr, hd->domain_id, hd->paging_mode);
 
     spin_unlock_irqrestore(&iommu->lock, flags);
 }

_______________________________________________
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] Fix the build after AMD IOMMU patches., Xen patchbot-unstable <=