summaryrefslogtreecommitdiff
path: root/include/asm-mips/asmmacro.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-04 01:40:15 +0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-30 00:10:49 +0400
commit4277ff5ee55694f67d9c6586bb4c06991e221a68 (patch)
treec75ff9101d0dc14688c86f709370d3e122e7402a /include/asm-mips/asmmacro.h
parentb4ab24e1c8c1442b2928bab1325b56bdbbcf898e (diff)
downloadlinux-4277ff5ee55694f67d9c6586bb4c06991e221a68.tar.xz
[MIPS] Fix use of ehb instruction for non-R2 configurations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/asmmacro.h')
-rw-r--r--include/asm-mips/asmmacro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/asmmacro.h b/include/asm-mips/asmmacro.h
index 2c42f6b00a49..92e62ef711ed 100644
--- a/include/asm-mips/asmmacro.h
+++ b/include/asm-mips/asmmacro.h
@@ -26,14 +26,14 @@
ori \reg, \reg, TCSTATUS_IXMT
xori \reg, \reg, TCSTATUS_IXMT
mtc0 \reg, CP0_TCSTATUS
- ehb
+ _ehb
.endm
.macro local_irq_disable reg=t0
mfc0 \reg, CP0_TCSTATUS
ori \reg, \reg, TCSTATUS_IXMT
mtc0 \reg, CP0_TCSTATUS
- ehb
+ _ehb
.endm
#else
.macro local_irq_enable reg=t0