summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-02-19 14:12:13 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-02-19 14:12:13 +0000
commitad9f21fd1f0d0a80e8b82e34215416664f99805d (patch)
tree08f9209d052352c0d0e8580a50353c6a091d872a /include
parent15dba00e0329a4c3ab4235ccdfda4ce63b7fd812 (diff)
o default configuration for DECstations added
o minor R3000 and DECstations related fixes
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/string.h8
-rw-r--r--include/net/tcp.h2
2 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-mips/string.h b/include/asm-mips/string.h
index b152af535..d42e8e360 100644
--- a/include/asm-mips/string.h
+++ b/include/asm-mips/string.h
@@ -1,4 +1,4 @@
-/* $Id: string.h,v 1.11 1999/08/13 17:07:28 harald Exp $
+/* $Id: string.h,v 1.12 2000/02/16 01:07:48 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -100,8 +100,14 @@ strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count)
".set\tnoreorder\n\t"
".set\tnoat\n"
"1:\tlbu\t%3,(%0)\n\t"
+#if defined(CONFIG_CPU_R3000)
+ "lbu\t$1,(%1)\n\t"
+ "nop\n\t"
+ "beqz\t%2,2f\n\t"
+#else
"beqz\t%2,2f\n\t"
"lbu\t$1,(%1)\n\t"
+#endif
"subu\t%2,1\n\t"
"bne\t$1,%3,3f\n\t"
"addiu\t%0,1\n\t"
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 1892cb30d..db16f7253 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -335,7 +335,7 @@ static __inline__ int tcp_sk_listen_hashfn(struct sock *sk)
so that we select tick to get range about 4 seconds.
*/
-#if HZ == 100
+#if HZ == 100 || HZ == 128
#define TCP_TW_RECYCLE_TICK (7+2-TCP_TW_RECYCLE_SLOTS_LOG)
#elif HZ == 1024
#define TCP_TW_RECYCLE_TICK (10+2-TCP_TW_RECYCLE_SLOTS_LOG)