From 061e61fdf4ae3576104552df930ceeaeef3c6650 Mon Sep 17 00:00:00 2001 From: Rohit Vaswani Date: Mon, 6 Jul 2015 17:45:20 -0700 Subject: 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 --- include/linux/dma-attrs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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, }; -- cgit v1.2.3