git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c53b43
)
x86/amd-iommu: Remove redundant device_flush_dte() calls
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 9 Jun 2011 09:52:27 +0000
(11:52 +0200)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Tue, 14 Jun 2011 10:49:57 +0000
(12:49 +0200)
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>
arch/x86/kernel/amd_iommu.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/amd_iommu.c
b/arch/x86/kernel/amd_iommu.c
index
7c3a95e
..
cc6f6da
100644
(file)
--- 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);
}