de4x5 problems with pre8

Manuel J. Galan (manolow@step.es)
Wed, 20 Jan 1999 19:42:28 +0000


This is a multi-part message in MIME format.
--------------81F92E2F7D9129B7A101998F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Apply attached patch and recompile all.
--------------81F92E2F7D9129B7A101998F
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)

--------------81F92E2F7D9129B7A101998F--

-
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/