]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/amd: Fix wrong shift direction
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 11 Oct 2011 15:41:32 +0000 (17:41 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:37 +0000 (15:35 -0400)
commit989f980f9cf2a244122df4e52efe39798485e8c9
tree82d57aee86e6e6128ab95cdd7364725cef7330a6
parent263307853b1a49baf5b4152a07cbf79c6a26fede
iommu/amd: Fix wrong shift direction

commit fcd0861db1cf4e6ed99f60a815b7b72c2ed36ea4 upstream.

The shift direction was wrong because the function takes a
page number and i is the address is the loop.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
[PG: drivers/iommu/ was arch/x86/kernel/ in 2.6.34 context]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/kernel/amd_iommu.c