summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/asmmacro.h
diff options
context:
space:
mode:
authorRalf Baechle2006-06-03 23:40:15 +0200
committerRalf Baechle2006-06-29 22:10:49 +0200
commit4277ff5ee55694f67d9c6586bb4c06991e221a68 (patch)
treec75ff9101d0dc14688c86f709370d3e122e7402a /include/asm-mips/asmmacro.h
parent[MIPS] Define ARCH_HAS_IRQ_PER_CPU for all SMP systems. (diff)
downloadkernel-qcow2-linux-4277ff5ee55694f67d9c6586bb4c06991e221a68.tar.gz
kernel-qcow2-linux-4277ff5ee55694f67d9c6586bb4c06991e221a68.tar.xz
kernel-qcow2-linux-4277ff5ee55694f67d9c6586bb4c06991e221a68.zip
[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