Hexagon: add translation types for __vmnewmap
authorRichard Kuo <rkuo@codeaurora.org>
Tue, 26 Mar 2013 02:57:36 +0000 (21:57 -0500)
committerRichard Kuo <rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:27 +0000 (19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/asm/hexagon_vm.h

index 6b81e4d..2d84cef 100644 (file)
@@ -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