lkml.org 
[lkml]   [1999]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectde4x5 problems with pre8


Apply attached patch and recompile all.--- 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)
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.020 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site