ia64/xen-unstable

changeset 19218:261ccf78bea6

vtd: clean up of __iommu_flush_iec()

remove bogus global variable to make it local variable.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Feb 17 11:07:29 2009 +0000 (2009-02-17)
parents 2e6de0f50f3f
children 6e9daf1dc5b3
files xen/drivers/passthrough/vtd/qinval.c
line diff
     1.1 --- a/xen/drivers/passthrough/vtd/qinval.c	Tue Feb 17 11:06:16 2009 +0000
     1.2 +++ b/xen/drivers/passthrough/vtd/qinval.c	Tue Feb 17 11:07:29 2009 +0000
     1.3 @@ -317,9 +317,9 @@ int queue_invalidate_iec(struct iommu *i
     1.4      return ret;
     1.5  }
     1.6  
     1.7 -u64 iec_cap;
     1.8  int __iommu_flush_iec(struct iommu *iommu, u8 granu, u8 im, u16 iidx)
     1.9  {
    1.10 +    u64 iec_cap;
    1.11      int ret;
    1.12      ret = queue_invalidate_iec(iommu, granu, im, iidx);
    1.13      ret |= invalidate_sync(iommu);