summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/string.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-02-22 04:12:11 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-02-22 04:12:11 +0000
commitc884ada29ead83a2777c4097489dc4db26419624 (patch)
tree98bc5e293200d703cb6d9b47ab6f052dfaba0041 /include/asm-mips/string.h
parent95b2d612949328e196b54c7569324e22f98c6ec0 (diff)
Support for Phillips PDAs.
Diffstat (limited to 'include/asm-mips/string.h')
-rw-r--r--include/asm-mips/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/string.h b/include/asm-mips/string.h
index e19a50fbb..e2b0ba4e8 100644
--- a/include/asm-mips/string.h
+++ b/include/asm-mips/string.h
@@ -76,7 +76,7 @@ extern __inline__ int strcmp(__const__ char *__cs, __const__ char *__ct)
"addiu\t%1,1\n\t"
"bnez\t%2,1b\n\t"
"lbu\t%2,(%0)\n\t"
-#if defined(CONFIG_CPU_R3000)
+#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_R3912)
"nop\n\t"
#endif
"move\t%2,$1\n"
@@ -108,7 +108,7 @@ strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count)
"bnez\t%3,1b\n\t"
"addiu\t%1,1\n"
"2:\n\t"
-#if defined(CONFIG_CPU_R3000)
+#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_R3912)
"nop\n\t"
#endif
"move\t%3,$1\n"