x86/amd-iommu: Make iommu_map_page and alloc_pte aware of page sizes
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 15 Jan 2010 13:41:15 +0000 (14:41 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Sun, 7 Mar 2010 17:01:11 +0000 (18:01 +0100)
commitcbb9d729f3433c9c2660b01dc52e6deb89488886
treee0384945ce9d235d5d3ae4e151728ce3faeb2cdf
parentfcd95807fb61e67d602610e7ff7129ed769e9fee
x86/amd-iommu: Make iommu_map_page and alloc_pte aware of page sizes

This patch changes the old map_size parameter of alloc_pte
to a page_size parameter which can be used more easily to
alloc a pte for intermediate page sizes.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/include/asm/amd_iommu_types.h
arch/x86/kernel/amd_iommu.c