patch-2.2.0-pre8 linux/include/asm-i386/string.h
Next file: linux/include/asm-m68k/processor.h
Previous file: linux/include/asm-i386/softirq.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Jan 15 00:39:37 1999
- Orig file:
v2.2.0-pre7/linux/include/asm-i386/string.h
- Orig date:
Thu Dec 31 10:29:02 1998
diff -u --recursive --new-file v2.2.0-pre7/linux/include/asm-i386/string.h linux/include/asm-i386/string.h
@@ -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), "=&d" (d2), "=&D" (d3), "=&g" (d4) : "0" (0),"1" (0xffffffff),"2" (cs),"4" (ct));
return __res;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov