X86 & IA64: adapt for dma_map_ops changes
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 27 Mar 2012 12:28:18 +0000 (14:28 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 28 Mar 2012 14:36:31 +0000 (16:36 +0200)
commitbaa676fcf8d555269bd0a5a2496782beee55824d
treeb92ef75b5a1bf6ff38222fb5aaeb0c64b2c88dc9
parent613c4578d4079a14dbee76ef7e0c80f635522fe3
X86 & IA64: adapt for dma_map_ops changes

Adapt core x86 and IA64 architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
[removed swiotlb related changes and replaced it with wrappers,
 merged with IA64 patch to avoid inter-patch dependences in intel-iommu code]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Luck <tony.luck@intel.com>
15 files changed:
arch/ia64/hp/common/sba_iommu.c
arch/ia64/include/asm/dma-mapping.h
arch/ia64/kernel/pci-swiotlb.c
arch/ia64/sn/pci/pci_dma.c
arch/x86/include/asm/dma-mapping.h
arch/x86/kernel/amd_gart_64.c
arch/x86/kernel/pci-calgary_64.c
arch/x86/kernel/pci-dma.c
arch/x86/kernel/pci-nommu.c
arch/x86/kernel/pci-swiotlb.c
arch/x86/xen/pci-swiotlb-xen.c
drivers/iommu/amd_iommu.c
drivers/iommu/intel-iommu.c
drivers/xen/swiotlb-xen.c
include/xen/swiotlb-xen.h