[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] vtd: clean up of __iommu_flush_iec()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1234868849 0
# Node ID 261ccf78bea65e2a2d8f1e33e21c90f85ad7faff
# Parent  2e6de0f50f3fe199fea890d0c340a9f9260b143d
vtd: clean up of __iommu_flush_iec()

remove bogus global variable to make it local variable.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/drivers/passthrough/vtd/qinval.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2e6de0f50f3f -r 261ccf78bea6 xen/drivers/passthrough/vtd/qinval.c
--- a/xen/drivers/passthrough/vtd/qinval.c      Tue Feb 17 11:06:16 2009 +0000
+++ b/xen/drivers/passthrough/vtd/qinval.c      Tue Feb 17 11:07:29 2009 +0000
@@ -317,9 +317,9 @@ int queue_invalidate_iec(struct iommu *i
     return ret;
 }
 
-u64 iec_cap;
 int __iommu_flush_iec(struct iommu *iommu, u8 granu, u8 im, u16 iidx)
 {
+    u64 iec_cap;
     int ret;
     ret = queue_invalidate_iec(iommu, granu, im, iidx);
     ret |= invalidate_sync(iommu);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.