|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] vtd: clean up of __iommu_flush_iec()
vtd: clean up of __iommu_flush_iec()
remove bogus global variable to make it local variable.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff --git a/xen/drivers/passthrough/vtd/qinval.c
b/xen/drivers/passthrough/vtd/qinval.c
--- a/xen/drivers/passthrough/vtd/qinval.c
+++ b/xen/drivers/passthrough/vtd/qinval.c
@@ -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);
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] vtd: clean up of __iommu_flush_iec(),
Isaku Yamahata <=
|
|
|
|
|