Let it go on intel patch for 2.1.97

Marcin Dalecki (dalecki@cs.net.pl)
Wed, 22 Apr 1998 12:02:59 -0700


There is an impressive typo in the patch-2.1.97:

--- v2.1.96/linux/include/asm-i386/system.h Tue Apr 14 14:29:25 1998
+++ linux/include/asm-i386/system.h Wed Apr 15 12:33:44 1998
@@ -293,7 +293,7 @@
"movb $0,6(%2)\n\t" \
"movb %%ah,7(%2)\n\t" \
"rorl $16,%%eax" \
- : "=m"(*(n)) : "a" (addr), "r"(n), "i"(limit), "i"(type))
+ : "=m"(*(n)) : "a" (addr), "r"(n), "g"(limit), "i"(type))

#define set_tss_desc(n,addr) \
_set_tssldt_desc(((char *) (n)),((int)(addr)),235,0x89)

This is wrong it ***should*** be (if I read the usage of it in
kernel/process.c
correctly):

- : "=m"(*(n)) : "a" (addr), "r"(n), "i"(limit), "i"(type))
+ : "=m"(*(n)) : "a" (addr), "r"(n), "r"(limit), "i"(type))

Either patch the patch before appying or fix it directly in the source
thereafter
amd let 2.1.97 hurry again.....

Marcin

PS. Sorry here at work I didn't have the sources at hand to provide it
in the
form of a clean patch.

-- 
=========================================================================
  In real life:         System Programmer at AIS AXON GmbH

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu