From: Richard Kuo Date: Tue, 26 Mar 2013 02:57:36 +0000 (-0500) Subject: Hexagon: add translation types for __vmnewmap X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7959bd76a18cea222eb9ee9040709ffc0a4612de;p=openwrt%2Fstaging%2Fblogic.git Hexagon: add translation types for __vmnewmap Signed-off-by: Richard Kuo --- 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