aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2007-09-05 07:11:22 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-09-10 16:25:28 -0400
commit603c338bdd455952d768fc24bf2c754dd4229aed (patch)
tree08bf5dcf65ab4c0f78d42691537810dcdcf24679 /arch
parentd344dd52e50f4440810b641077282bfa1fd65d88 (diff)
[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')
-rw-r--r--arch/mips/mm/tlbex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 4ec0964b8394..9cb39644b6f1 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -78,7 +78,7 @@ enum fields
78 SET = 0x200 78 SET = 0x200
79}; 79};
80 80
81#define OP_MASK 0x2f 81#define OP_MASK 0x3f
82#define OP_SH 26 82#define OP_SH 26
83#define RS_MASK 0x1f 83#define RS_MASK 0x1f
84#define RS_SH 21 84#define RS_SH 21
@@ -92,7 +92,7 @@ enum fields
92#define IMM_SH 0 92#define IMM_SH 0
93#define JIMM_MASK 0x3ffffff 93#define JIMM_MASK 0x3ffffff
94#define JIMM_SH 0 94#define JIMM_SH 0
95#define FUNC_MASK 0x2f 95#define FUNC_MASK 0x3f
96#define FUNC_SH 0 96#define FUNC_SH 0
97#define SET_MASK 0x7 97#define SET_MASK 0x7
98#define SET_SH 0 98#define SET_SH 0