arm64/dma: Removing ARCH_HAS_DMA_GET_REQUIRED_MASK macro
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Fri, 6 Jun 2014 22:07:16 +0000 (23:07 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 18 Jun 2014 11:41:30 +0000 (12:41 +0100)
Arm64 does not define dma_get_required_mask() function.
Therefore, it should not define the ARCH_HAS_DMA_GET_REQUIRED_MASK.
This causes build errors in some device drivers (e.g. mpt2sas)

Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org>
arch/arm64/include/asm/dma-mapping.h

index 3a4572ec3273267c04334057b944739fe56d73e2..dc82e52acdb35f406fd6ecbcaaeb405841400979 100644 (file)
@@ -26,8 +26,6 @@
 #include <xen/xen.h>
 #include <asm/xen/hypervisor.h>
 
-#define ARCH_HAS_DMA_GET_REQUIRED_MASK
-
 #define DMA_ERROR_CODE (~(dma_addr_t)0)
 extern struct dma_map_ops *dma_ops;
 extern struct dma_map_ops coherent_swiotlb_dma_ops;