]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:57 +0000 (11:17 -0800)
commit12c7fd9231e02824147f763f47b1c4d69d559ae6
tree238447f55d8cbd1c4b29eb091a4ce17911c88bd5
parent2f475f9780cb0007253a0479d953a333978bdbf0
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