lkml.org 
[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
SubjectPatch 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 */

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.020 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site