Package: linux-kernel-headers Version: 2.5.999-test7-bk-16 The attached patch fixes include/asm-s390/byteorder.h. The definitions are used by some userspace programs which produces weird failures if using the broken 64bit conversation. With the patch, this file matches linux 2.6.7 vanilla. Bastian -- A princess should not be afraid -- not with a brave knight to protect her. -- McCoy, "Shore Leave", stardate 3025.3
--- include/asm-s390/byteorder.h 2004-06-02 06:28:47.000000000 +0200 +++ include/asm-s390/byteorder.h 2004-07-16 15:12:07.000000000 +0200 @@ -50,7 +50,7 @@ " icm %0,4,2(%1)\n" " icm %0,2,1(%1)\n" " ic %0,0(%1)" - : "=&d" (result) : "a" (x) : "cc" ); + : "=&d" (result) : "a" (x), "m" (*x) : "cc" ); #else /* __s390x__ */ " lrv %0,%1" : "=d" (result) : "m" (*x) ); @@ -85,7 +85,7 @@ #ifndef __s390x__ " icm %0,2,1(%1)\n" " ic %0,0(%1)\n" - : "=&d" (result) : "a" (x) : "cc" ); + : "=&d" (result) : "a" (x), "m" (*x) : "cc" ); #else /* __s390x__ */ " lrvh %0,%1" : "=d" (result) : "m" (*x) );
Attachment:
signature.asc
Description: Digital signature