Skip to content

Commit

Permalink
[MIPS] TLB: Fix instruction bitmasks
Browse files Browse the repository at this point in the history
Signed-Off-By: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Thiemo Seufer authored and Ralf Baechle committed Sep 10, 2007
1 parent d344dd5 commit 603c338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 603c338

Please sign in to comment.