iommu/amd: Fix wrong shift direction
commite64b7bab4ff4db9caa98fd139126cde8edfa029e
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 11 Oct 2011 15:41:32 +0000 (11 17:41 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Nov 2011 20:32:34 +0000 (7 12:32 -0800)
tree6dadc7da07db83179f64585806242b79a69afbb3
parenta297437cf7eb9938a442cc9601af74237e276e0c
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