lkml.org 
[lkml]   [2000]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] string.h string-486.h - please test!
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)
{
/*
\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.083 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site