From: Thiemo Seufer Date: Wed, 5 Sep 2007 11:11:22 +0000 (+0100) Subject: [MIPS] TLB: Fix instruction bitmasks X-Git-Tag: MMI-PSA29.97-13-9~40552^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d6698a2cd6ba23f5f73b0115c277dca8341af4a0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [MIPS] TLB: Fix instruction bitmasks Signed-Off-By: Thiemo Seufer Signed-off-by: Ralf Baechle --- 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 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