commit | 4277ff5ee55694f67d9c6586bb4c06991e221a68 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Sat Jun 03 22:40:15 2006 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Jun 29 21:10:49 2006 +0100 |
tree | c75ff9101d0dc14688c86f709370d3e122e7402a | |
parent | b4ab24e1c8c1442b2928bab1325b56bdbbcf898e [diff] [blame] |
[MIPS] Fix use of ehb instruction for non-R2 configurations. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h index 6739779..9192d76 100644 --- a/include/asm-mips/mipsregs.h +++ b/include/asm-mips/mipsregs.h
@@ -1459,7 +1459,8 @@ static inline void __ehb(void) { __asm__ __volatile__( - " ehb \n"); + " .set mips32r2 \n" + " ehb \n" " .set mips0 \n"); } /*