linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64/dma: Removing ARCH_HAS_DMA_GET_REQUIRED_MASK macro
@ 2014-06-06 22:07 suravee.suthikulpanit at amd.com
  2014-06-18  9:53 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: suravee.suthikulpanit at amd.com @ 2014-06-06 22:07 UTC (permalink / raw)
  To: linux-arm-kernel

From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>

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>
---
 arch/arm64/include/asm/dma-mapping.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/include/asm/dma-mapping.h b/arch/arm64/include/asm/dma-mapping.h
index 3a4572e..dc82e52 100644
--- a/arch/arm64/include/asm/dma-mapping.h
+++ b/arch/arm64/include/asm/dma-mapping.h
@@ -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;
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] arm64/dma: Removing ARCH_HAS_DMA_GET_REQUIRED_MASK macro
  2014-06-06 22:07 [PATCH] arm64/dma: Removing ARCH_HAS_DMA_GET_REQUIRED_MASK macro suravee.suthikulpanit at amd.com
@ 2014-06-18  9:53 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2014-06-18  9:53 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 06, 2014 at 11:07:16PM +0100, suravee.suthikulpanit at amd.com wrote:
> From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
> 
> 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>

Applied. Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-18  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-06 22:07 [PATCH] arm64/dma: Removing ARCH_HAS_DMA_GET_REQUIRED_MASK macro suravee.suthikulpanit at amd.com
2014-06-18  9:53 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).