diff options
author | Thiemo Seufer <ths@networkno.de> | 2007-09-05 12:11:22 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-09-11 19:03:26 +0100 |
commit | d6698a2cd6ba23f5f73b0115c277dca8341af4a0 (patch) | |
tree | 08bf5dcf65ab4c0f78d42691537810dcdcf24679 /arch/mips | |
parent | 8bce4e9de113e2957c74cc4ce36fbd6eff47d24d (diff) | |
download | op-kernel-dev-d6698a2cd6ba23f5f73b0115c277dca8341af4a0.zip op-kernel-dev-d6698a2cd6ba23f5f73b0115c277dca8341af4a0.tar.gz |
[MIPS] TLB: Fix instruction bitmasks
Signed-Off-By: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mm/tlbex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 4ec0964..9cb3964 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -78,7 +78,7 @@ enum fields SET = 0x200 }; -#define OP_MASK 0x2f +#define OP_MASK 0x3f #define OP_SH 26 #define RS_MASK 0x1f #define RS_SH 21 @@ -92,7 +92,7 @@ enum fields #define IMM_SH 0 #define JIMM_MASK 0x3ffffff #define JIMM_SH 0 -#define FUNC_MASK 0x2f +#define FUNC_MASK 0x3f #define FUNC_SH 0 #define SET_MASK 0x7 #define SET_SH 0 |