projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b0e630
)
x86/amd-iommu: fix broken check in amd_iommu_flush_all_devices
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 3 Sep 2009 13:45:51 +0000
(15:45 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 24 Sep 2009 15:43:53 +0000
(08:43 -0700)
commit
e0faf54ee82bf9c07f0307b4391caad4020bd659
upstream.
The amd_iommu_pd_table is indexed by protection domain
number and not by device id. So this check is broken and
must be removed.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 6c99f5037801302fc60da447ce414a3179fad3eb..4607241508ca69268b0d16ea7e2d6bbbbc0ece68 100644
(file)
--- a/
arch/x86/kernel/amd_iommu.c
+++ b/
arch/x86/kernel/amd_iommu.c
@@
-485,8
+485,6
@@
void amd_iommu_flush_all_devices(void)
int i;
for (i = 0; i <= amd_iommu_last_bdf; ++i) {
- if (amd_iommu_pd_table[i] == NULL)
- continue;
iommu = amd_iommu_rlookup_table[i];
if (!iommu)