projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae908c2
)
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
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 3 Sep 2009 13:49:56 +0000
(15:49 +0200)
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.
Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/amd_iommu.c
b/arch/x86/kernel/amd_iommu.c
index 3e62d7836522ae3fe544b82bc068ebbceb4b045c..009d722af00968948c9696eae59d07ba05da09ea 100644
(file)
--- a/
arch/x86/kernel/amd_iommu.c
+++ b/
arch/x86/kernel/amd_iommu.c
@@
-479,8
+479,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)
This page took
0.026401 seconds
and
5
git commands to generate.