diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-03-26 06:57:36 +0400 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-05-01 04:40:27 +0400 |
commit | 7959bd76a18cea222eb9ee9040709ffc0a4612de (patch) | |
tree | 8dc081fc94afe877ae558f1c596624db475db497 /arch/hexagon | |
parent | f3f601c1d2728f02544cfd143eaa82e5398b3e9b (diff) | |
download | linux-7959bd76a18cea222eb9ee9040709ffc0a4612de.tar.xz |
Hexagon: add translation types for __vmnewmap
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r-- | arch/hexagon/include/asm/hexagon_vm.h | 7 |
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 |