projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb9d4ff
)
AMD IOMMU: fix loop counter in free_pagetable function
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 4 Dec 2008 15:44:31 +0000
(16:44 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 8 Dec 2008 13:58:19 +0000
(14:58 +0100)
Impact: bugfix
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 67970a8c2ee9aad2a5716991bab528ad53de3e3b..0637e65ca0c77a931a715591994162f53a035648 100644
(file)
--- a/
arch/x86/kernel/amd_iommu.c
+++ b/
arch/x86/kernel/amd_iommu.c
@@
-600,7
+600,7
@@
static void dma_ops_free_pagetable(struct dma_ops_domain *dma_dom)
continue;
p2 = IOMMU_PTE_PAGE(p1[i]);
- for (j = 0; j < 512; ++
i
) {
+ for (j = 0; j < 512; ++
j
) {
if (!IOMMU_PTE_PRESENT(p2[j]))
continue;
p3 = IOMMU_PTE_PAGE(p2[j]);