projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5860acc
)
dma-mapping: remove HAVE_ARCH_DMA_SUPPORTED
author
Christoph Hellwig
<hch@lst.de>
Mon, 22 May 2017 09:40:56 +0000
(11:40 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 28 Jun 2017 13:54:47 +0000
(06:54 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-mapping.h
patch
|
blob
|
history
diff --git
a/include/linux/dma-mapping.h
b/include/linux/dma-mapping.h
index a57875309bfdd8eeb90f492cbe34b62b783f27cd..3e5908656226ef21fa80ac582fd05329ecc27fcf 100644
(file)
--- 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)