Alan Cox wrote:
>
> > Problems on de4x5.o with asm-i386/string.h
> > (both with gcc and egcs).
> > Again :-(.
>
> You can't win that battle. Your fix breaks IDE CDROMS for me. strstr has
> to go non inline
Ok.
Then let us go C-wise!
--------------6AF21912B2C9ADE9AA75E359
Content-Type: text/plain; charset=us-ascii;
name="new_strstr.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="new_strstr.diff"
--- arch/i386/kernel/i386_ksyms.c.strstr Tue Jan 19 15:15:16 1999
+++ arch/i386/kernel/i386_ksyms.c Tue Jan 19 15:15:33 1999
@@ -58,6 +58,7 @@
EXPORT_SYMBOL_NOVERS(__put_user_2);
EXPORT_SYMBOL_NOVERS(__put_user_4);
+EXPORT_SYMBOL(strstr);
EXPORT_SYMBOL(strtok);
EXPORT_SYMBOL(strpbrk);
--- include/asm-i386/string.h.strstr Tue Jan 19 15:13:50 1999
+++ include/asm-i386/string.h Tue Jan 19 15:14:41 1999
@@ -188,6 +188,7 @@
return __res;
}
+#ifdef __AT_LAST_i386_STRSTR_WORKS_OK__
#define __HAVE_ARCH_STRSTR
extern inline char * strstr(const char * cs,const char * ct)
{
@@ -216,6 +217,7 @@
:"=a" (__res), "=&c" (d0), "=&S" (d1), "=&d" (d2), "=&D" (d3), "=&g" (d4) : "0" (0),"1" (0xffffffff),"2" (cs),"4" (ct));
return __res;
}
+#endif
#define __HAVE_ARCH_STRLEN
extern inline size_t strlen(const char * s)
--------------6AF21912B2C9ADE9AA75E359--
-
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/