Messages in this thread Patches in this message |  | | Date | Mon, 10 Feb 1997 10:45:08 +0100 (MET) | From | Juan Cespedes <> | Subject | Patch for include/asm-i386/string*.h |
| |
The bugs these patches fixes should be more or less harmless, but the patch should be applied anyway, specially the string-i486.h patch for 2.1.26 (if not applied, romfs_lookup don't work at all in 486's).
---------------------------------------------------------------------- Patch for 2.0.29: ---------------------------------------------------------------------- diff -ur linux-2.0.29/include/asm-i386/string-486.h linux-2.0.29-patched/include/asm-i386/string-486.h --- linux-2.0.29/include/asm-i386/string-486.h Sat Apr 20 12:12:23 1996 +++ linux-2.0.29-patched/include/asm-i386/string-486.h Mon Feb 10 10:35:40 1997 @@ -339,7 +339,9 @@ "cmpl $-1,%2\n\t" "jne 1b\n" "3:\tsubl %1,%0" - :"=a" (__res):"c" (s),"d" (count)); + :"=a" (__res) + :"c" (s),"d" (count) + :"dx"); return __res; } /* end of additional stuff */ diff -ur linux-2.0.29/include/asm-i386/string.h linux-2.0.29-patched/include/asm-i386/string.h --- linux-2.0.29/include/asm-i386/string.h Sat Apr 20 12:12:23 1996 +++ linux-2.0.29-patched/include/asm-i386/string.h Mon Feb 10 10:35:21 1997 @@ -546,7 +546,9 @@ "cmpl $-1,%2\n\t" "jne 1b\n" "3:\tsubl %1,%0" - :"=a" (__res):"c" (s),"d" (count)); + :"=a" (__res) + :"c" (s),"d" (count) + :"dx"); return __res; } /* end of additional stuff */ ---------------------------------------------------------------------- Patch for 2.1.26: ---------------------------------------------------------------------- diff -ur linux-2.1.26/include/asm-i386/string-486.h linux-2.1.26-fixed/include/asm-i386/string-486.h --- linux-2.1.26/include/asm-i386/string-486.h Mon Oct 28 14:02:57 1996 +++ linux-2.1.26-fixed/include/asm-i386/string-486.h Mon Feb 10 10:39:26 1997 @@ -339,7 +339,9 @@ "cmpl $-1,%2\n\t" "jne 1b\n" "3:\tsubl %1,%0" - :"=a" (__res):"c" (s),"d" (count)); + :"=a" (__res) + :"c" (s),"d" (count) + :"dx"); return __res; } /* end of additional stuff */
|  |