From: Suravee Suthikulpanit Date: Fri, 6 Jun 2014 22:07:16 +0000 (+0100) Subject: arm64/dma: Removing ARCH_HAS_DMA_GET_REQUIRED_MASK macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f3a183cb422574014538017b5b291a416396f97e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64/dma: Removing ARCH_HAS_DMA_GET_REQUIRED_MASK macro 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 Signed-off-by: Catalin Marinas Cc: --- diff --git a/arch/arm64/include/asm/dma-mapping.h b/arch/arm64/include/asm/dma-mapping.h index 3a4572ec3273..dc82e52acdb3 100644 --- a/arch/arm64/include/asm/dma-mapping.h +++ b/arch/arm64/include/asm/dma-mapping.h @@ -26,8 +26,6 @@ #include #include -#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;