diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-03 17:40:15 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-29 16:10:49 -0400 |
| commit | 4277ff5ee55694f67d9c6586bb4c06991e221a68 (patch) | |
| tree | c75ff9101d0dc14688c86f709370d3e122e7402a /arch/mips/kernel/gdb-low.S | |
| parent | b4ab24e1c8c1442b2928bab1325b56bdbbcf898e (diff) | |
[MIPS] Fix use of ehb instruction for non-R2 configurations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/gdb-low.S')
| -rw-r--r-- | arch/mips/kernel/gdb-low.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/gdb-low.S b/arch/mips/kernel/gdb-low.S index 5fd7a8af0c62..8760131f89d9 100644 --- a/arch/mips/kernel/gdb-low.S +++ b/arch/mips/kernel/gdb-low.S | |||
| @@ -291,7 +291,7 @@ | |||
| 291 | ori t1, t2, TCSTATUS_IXMT | 291 | ori t1, t2, TCSTATUS_IXMT |
| 292 | mtc0 t1, CP0_TCSTATUS | 292 | mtc0 t1, CP0_TCSTATUS |
| 293 | andi t2, t2, TCSTATUS_IXMT | 293 | andi t2, t2, TCSTATUS_IXMT |
| 294 | ehb | 294 | _ehb |
| 295 | DMT 9 # dmt t1 | 295 | DMT 9 # dmt t1 |
| 296 | jal mips_ihb | 296 | jal mips_ihb |
| 297 | nop | 297 | nop |
| @@ -310,7 +310,7 @@ | |||
| 310 | xori t1, t1, TCSTATUS_IXMT | 310 | xori t1, t1, TCSTATUS_IXMT |
| 311 | or t1, t1, t2 | 311 | or t1, t1, t2 |
| 312 | mtc0 t1, CP0_TCSTATUS | 312 | mtc0 t1, CP0_TCSTATUS |
| 313 | ehb | 313 | _ehb |
| 314 | #endif /* CONFIG_MIPS_MT_SMTC */ | 314 | #endif /* CONFIG_MIPS_MT_SMTC */ |
| 315 | LONG_L v0, GDB_FR_STATUS(sp) | 315 | LONG_L v0, GDB_FR_STATUS(sp) |
| 316 | LONG_L v1, GDB_FR_EPC(sp) | 316 | LONG_L v1, GDB_FR_EPC(sp) |
