diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-03-25 21:57:36 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-04-30 19:40:27 -0500 |
commit | 7959bd76a18cea222eb9ee9040709ffc0a4612de (patch) | |
tree | 8dc081fc94afe877ae558f1c596624db475db497 /arch/hexagon/include/asm | |
parent | f3f601c1d2728f02544cfd143eaa82e5398b3e9b (diff) | |
download | linux-7959bd76a18cea222eb9ee9040709ffc0a4612de.tar.gz linux-7959bd76a18cea222eb9ee9040709ffc0a4612de.tar.bz2 linux-7959bd76a18cea222eb9ee9040709ffc0a4612de.zip |
Hexagon: add translation types for __vmnewmap
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/include/asm')
-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 |