Re: [PATCH] 2/2 2.5.45 cleanup & add original copy_ro/from_user

Andries Brouwer
2002-11-03T22:16:13Z

On Sun, Nov 03, 2002 at 09:24:21PM +0000, Dave Jones wrote:

> As a sidenote, string-486.h has been disabled for years
> (Right back to at least 2.0.39 which is the earliest tree I have
> to hand right now). It should either be fixed, or considered
> worth dropping imo.

--- v1.3.75/linux/include/asm-i386/string.h Wed Feb 28 11:50:11 1996
+++ linux/include/asm-i386/string.h Mon Mar 18 10:52:08 1996
@@ -6,8 +6,11 @@
* byte string operations. But on a 386 or a PPro the
* byte string ops are faster than doing it by hand
* (MUCH faster on a Pentium).
+ *
+ * Also, the byte strings actually work correctly. Forget
+ * the i486 routines for now as they may be broken..
*/
-#if CPU == 486 || CPU == 586
+#if FIXED_486_STRING && (CPU == 486 || CPU == 586)
#include <asm/string-486.h>
#else