From 7959bd76a18cea222eb9ee9040709ffc0a4612de Mon Sep 17 00:00:00 2001 From: Richard Kuo Date: Mon, 25 Mar 2013 21:57:36 -0500 Subject: Hexagon: add translation types for __vmnewmap Signed-off-by: Richard Kuo --- arch/hexagon/include/asm/hexagon_vm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/hexagon/include') 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 -- cgit v1.2.3