From: David Woodhouse Date: Tue, 30 Jun 2009 02:38:09 +0000 (+0100) Subject: intel-iommu: Don't free too much in dma_pte_free_pagetable() X-Git-Tag: v2.6.31-rc2~12^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d7b0e4154b4963d6bd39991ec8eaa09caeb3994;p=pandora-kernel.git intel-iommu: Don't free too much in dma_pte_free_pagetable() The loop condition was wrong -- we should free a PMD only if its _entire_ range is within the range we're intending to clear. The early-termination condition was right, but not the loop. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed