diff -urN linux-2.2.0-pre6/include/asm-i386/string.h linux/include/asm-i386/string.h
--- linux-2.2.0-pre6/include/asm-i386/string.h Thu Jan 7 03:01:04 1999
+++ linux/include/asm-i386/string.h Wed Jan 13 12:40:50 1999
@@ -191,7 +191,7 @@
#define __HAVE_ARCH_STRSTR
extern inline char * strstr(const char * cs,const char * ct)
{
-int d0, d1, d2, d3;
+int d0, d1, d2, d3, d4;
register char * __res;
__asm__ __volatile__(
"cld\n\t" \
@@ -213,7 +213,7 @@
"jne 1b\n\t"
"xorl %%eax,%%eax\n\t"
"2:"
- :"=a" (__res), "=&c" (d0), "=&S" (d1), "=&d" (d2), "=&D" (d3) : "0" (0),"1" (0xffffffff),"2" (cs),"g" (ct));
+ :"=a" (__res), "=&c" (d0), "=&S" (d1), "=&g" (d2), "=&d" (d3), "=&D" (d4) : "0" (0),"1" (0xffffffff),"2" (cs),"3" (ct));
return __res;
}
-- Niels Kristian Bech Jensen -- nkbj@image.dk -- http://www.image.dk/~nkbj/-------->> Stop software piracy -- use open-source software! <<--------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/