]> 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:43:23 +0000 (09:43 -0800)
commit2570d310e29899e6b6754198b6a85f0c8a5fd109
treea7e3bc83fc7fd5427f0b541d86431bd7805d453a
parent78cffaa4aa23af882a66352cfc55a6b9ac404d56
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>
drivers/iommu/amd_iommu.c