summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2015-07-06 17:45:20 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:13:20 -0700
commit061e61fdf4ae3576104552df930ceeaeef3c6650 (patch)
tree7dbec280face56af72e4eb7396a483b2d68c98f3 /include/linux
parent66771e869d90760b086829f29726626932e36b8e (diff)
common: DMA-mapping: Add EXEC_MAPPING attribute
DMA_ATTR_EXEC_MAPPING specifies that an executable mapping should be created for the requested buffer. By default, the DMA mappings are non-executable. Change-Id: I135077e14996e92fa9d199bdee043c443db48924 Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dma-attrs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma-attrs.h b/include/linux/dma-attrs.h
index ee61109a0b5f..9799594ce09d 100644
--- a/include/linux/dma-attrs.h
+++ b/include/linux/dma-attrs.h
@@ -21,6 +21,7 @@ enum dma_attr {
DMA_ATTR_STRONGLY_ORDERED,
DMA_ATTR_SKIP_ZEROING,
DMA_ATTR_NO_DELAYED_UNMAP,
+ DMA_ATTR_EXEC_MAPPING,
DMA_ATTR_MAX,
};