summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-06-09 11:52:27 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2011-06-14 12:49:57 +0200
commit39c555460cbc6d35656878c89d4664fbd6c81551 (patch)
treeabf91a0086949f4c4466a7d6acc2f1b543f4c234 /arch
parent2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff)
downloadtalos-op-linux-39c555460cbc6d35656878c89d4664fbd6c81551.tar.gz
talos-op-linux-39c555460cbc6d35656878c89d4664fbd6c81551.zip
x86/amd-iommu: Remove redundant device_flush_dte() calls
Remove these function calls from places where the function has already been called by another function. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/amd_iommu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 7c3a95e54ec5..cc6f6da630e8 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -1798,7 +1798,6 @@ static int device_change_notifier(struct notifier_block *nb,
goto out;
}
- device_flush_dte(dev);
iommu_completion_wait(iommu);
out:
@@ -2605,7 +2604,6 @@ static void amd_iommu_detach_device(struct iommu_domain *dom,
if (!iommu)
return;
- device_flush_dte(dev);
iommu_completion_wait(iommu);
}
OpenPOWER on IntegriCloud