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>
Mon, 7 Nov 2011 21:47:31 +0000 (13:47 -0800)
commit70eb017131ba8e9aa9f491955568a5ff89bda393
tree1e8967b9d906b19345f39bbbab09301331edc14c
parentf5b218b84cc375589e8e7c83296497c66d1592c4
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