]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:36:09 +0000 (09:36 -0800)
commit9bdb666778b0eb502554288ac3188139c3c45f0e
tree1200b57e2ea573e87a68d2b4f44033e6ceab08f8
parentcf541bb3f2532e7493720a208021e43b85156870
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/amd_iommu.c