summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-08-25 17:12:18 +0200
committerChristoph Hellwig <hch@lst.de>2017-09-01 09:50:39 +0200
commitb32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85 (patch)
treefcec7728562b58819c19540275111bdd04cdff8d /include
parentof: restrict DMA configuration (diff)
downloadlinux-b32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85.tar.xz
linux-b32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85.zip
dma-coherent: remove the DMA_MEMORY_INCLUDES_CHILDREN flag
This flag was never implemented or used. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dma-mapping.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index 4c98cc96971f..abf369b11f54 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -696,8 +696,7 @@ static inline int dma_get_cache_alignment(void)
/* flags for the coherent memory api */
#define DMA_MEMORY_MAP 0x01
#define DMA_MEMORY_IO 0x02
-#define DMA_MEMORY_INCLUDES_CHILDREN 0x04
-#define DMA_MEMORY_EXCLUSIVE 0x08
+#define DMA_MEMORY_EXCLUSIVE 0x04
#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT
int dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr,