[patch] string.h string-486.h - please test!

From: Petko Manolov (petkan@dce.bg)
Date: Tue Aug 22 2000 - 07:00:01 EST


To everybody with [45]86 machines who is interested:

This patch makes kernels compiled for 486 and 586
include string-486.h, not string.h.
I made it as a request by a few people who think
it is a good idea to have a little bit faster
and smaller kernels on machines noted above.

AFAIK there were some problems with these procs in
the past, but i didn't heard anything long time from
now.
I hope my patches before few months made string routines
stable, but if not i would like to know.

thanks,
Petkan

--- linux-2.4.0-test6/include/asm-i386/string.h.orig Tue Aug 22 12:54:38 2000
+++ linux/include/asm-i386/string.h Tue Aug 22 14:35:52 2000
@@ -12,7 +12,7 @@
  * Also, the byte strings actually work correctly. Forget
  * the i486 routines for now as they may be broken..
  */
-#if FIXED_486_STRING && defined(CONFIG_X86_USE_STRING_486)
+#ifdef CONFIG_X86_USE_STRING_486
 #include <asm/string-486.h>
 #else
 
--- linux-2.4.0-test6/include/asm-i386/string-486.h.orig Tue Aug 22 14:34:11 2000
+++ linux/include/asm-i386/string-486.h Tue Aug 22 14:35:42 2000
@@ -489,6 +489,8 @@
   __memset_gc((s),(c),(count)) : \
   __memset_gg((s),(c),(count))))
 
+#define __memset(s,c,count) memset(s,c,count)
+
 static inline void * __memset_cc_by4(void * s, char c, size_t count)
 {
 /*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 21:00:06 EST