Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1661183 > unrolled thread

[PATCH 36/44] dma-mapping: remove HAVE_ARCH_DMA_SUPPORTED

Started byChristoph Hellwig <hch@lst.de>
First post2017-06-08 15:40 +0200
Last post2017-06-08 15:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 36/44] dma-mapping: remove HAVE_ARCH_DMA_SUPPORTED Christoph Hellwig <hch@lst.de> - 2017-06-08 15:40 +0200

#1661183 — [PATCH 36/44] dma-mapping: remove HAVE_ARCH_DMA_SUPPORTED

FromChristoph Hellwig <hch@lst.de>
Date2017-06-08 15:40 +0200
Subject[PATCH 36/44] dma-mapping: remove HAVE_ARCH_DMA_SUPPORTED
Message-ID<tQ5Pk-4SX-9@gated-at.bofh.it>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/dma-mapping.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index a57875309bfd..3e5908656226 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -549,7 +549,6 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
 	return 0;
 }
 
-#ifndef HAVE_ARCH_DMA_SUPPORTED
 static inline int dma_supported(struct device *dev, u64 mask)
 {
 	const struct dma_map_ops *ops = get_dma_ops(dev);
@@ -560,7 +559,6 @@ static inline int dma_supported(struct device *dev, u64 mask)
 		return 1;
 	return ops->dma_supported(dev, mask);
 }
-#endif
 
 #ifndef HAVE_ARCH_DMA_SET_MASK
 static inline int dma_set_mask(struct device *dev, u64 mask)
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web