diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-03-12 19:42:24 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-03-12 19:42:24 +0000 |
commit | a0ed19b6b4386842ec67326e68109392c0859923 (patch) | |
tree | c0d00469b6ca3453c199803738ddd2c6ae4106d8 /include/asm-mips/mipsregs.h | |
parent | 3980e5ba8fb2a1d74e120cc3a1c6a31c0755208b (diff) |
Fixes for bugs reported by Dan Aizenstros.
Diffstat (limited to 'include/asm-mips/mipsregs.h')
-rw-r--r-- | include/asm-mips/mipsregs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h index 9692eb57a..b68caf3a4 100644 --- a/include/asm-mips/mipsregs.h +++ b/include/asm-mips/mipsregs.h @@ -243,7 +243,7 @@ set_cp0_##name(unsigned int set) \ unsigned int res; \ \ res = read_32bit_cp0_register(register); \ - res |= ~set; \ + res |= set; \ write_32bit_cp0_register(register, res); \ \ return res; \ @@ -313,7 +313,7 @@ __BUILD_SET_CP0(config,CP0_CONFIG) /* * Bits specific to the R4640/R4650 */ -#define ST0_UM <1 << 4) +#define ST0_UM (1 << 4) #define ST0_IL (1 << 23) #define ST0_DL (1 << 24) |