[MIPS] TLB: Fix instruction bitmasks
authorThiemo Seufer <ths@networkno.de>
Wed, 5 Sep 2007 11:11:22 +0000 (12:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 11 Sep 2007 18:03:26 +0000 (19:03 +0100)
Signed-Off-By: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c

index 4ec0964b8394b141f5870198e33c01499a96c345..9cb39644b6f1f588570bb7b8984ad54383c417d4 100644 (file)
@@ -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