summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2013-03-25 21:57:36 -0500
committerRichard Kuo <rkuo@codeaurora.org>2013-04-30 19:40:27 -0500
commit7959bd76a18cea222eb9ee9040709ffc0a4612de (patch)
tree8dc081fc94afe877ae558f1c596624db475db497 /arch
parentf3f601c1d2728f02544cfd143eaa82e5398b3e9b (diff)
Hexagon: add translation types for __vmnewmap
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/hexagon/include/asm/hexagon_vm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/hexagon/include/asm/hexagon_vm.h b/arch/hexagon/include/asm/hexagon_vm.h
index 6b81e4d5ecb1..2d84cef5b8a0 100644
--- a/arch/hexagon/include/asm/hexagon_vm.h
+++ b/arch/hexagon/include/asm/hexagon_vm.h
@@ -197,6 +197,13 @@ static inline long __vmintop_clear(long i)
* Constants for virtual instruction parameters and return values
*/
+/* vmnewmap arguments */
+
+#define VM_TRANS_TYPE_LINEAR 0
+#define VM_TRANS_TYPE_TABLE 1
+#define VM_TLB_INVALIDATE_FALSE 0
+#define VM_TLB_INVALIDATE_TRUE 1
+
/* vmsetie arguments */
#define VM_INT_DISABLE 0