diff options
| author | Rohit Vaswani <rvaswani@codeaurora.org> | 2015-07-06 17:45:20 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:13:20 -0700 |
| commit | 061e61fdf4ae3576104552df930ceeaeef3c6650 (patch) | |
| tree | 7dbec280face56af72e4eb7396a483b2d68c98f3 /include/linux | |
| parent | 66771e869d90760b086829f29726626932e36b8e (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.h | 1 |
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, }; |
