aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/asm-mips/hazards.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-07 16:58:15 +0100
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:37 +0100
commitec917c2c1ab4359a1d438e62daeb50cc42e632e1 (patch)
treedeb2e00bee354577e1f19b7b70c1a2037828a957 /include/asm-mips/hazards.h
parentDocument the meaning of the CPU_MIPS32, CPU_MIPS64, CPU_MIPSR1 and (diff)
downloadwireguard-linux-ec917c2c1ab4359a1d438e62daeb50cc42e632e1.tar.xz
wireguard-linux-ec917c2c1ab4359a1d438e62daeb50cc42e632e1.zip
Fixup a few lose ends in explicit support for MIPS R1/R2.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/hazards.h')
-rw-r--r--include/asm-mips/hazards.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/hazards.h b/include/asm-mips/hazards.h
index 5250231e936e..7517189e469f 100644
--- a/include/asm-mips/hazards.h
+++ b/include/asm-mips/hazards.h
@@ -232,7 +232,7 @@ __asm__(
#endif
-#if defined(CONFIG_CPU_MIPS32_R2) || defined (CONFIG_CPU_MIPS64_R2)
+#ifdef CONFIG_CPU_MIPSR2
#define instruction_hazard() \
do { \
__label__ __next; \