[PATCH] s390 (4/8): uaccess bug.

From: Martin Schwidefsky (schwidefsky@de.ibm.com)
Date: Thu Dec 12 2002 - 13:08:00 EST


Fix return value of __put_user_asm_8.

diffstat:
 uaccess.h | 2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -urN linux-2.5.51/include/asm-s390/uaccess.h linux-2.5.51-s390/include/asm-s390/uaccess.h
--- linux-2.5.51/include/asm-s390/uaccess.h Tue Dec 10 03:45:47 2002
+++ linux-2.5.51-s390/include/asm-s390/uaccess.h Thu Dec 12 18:03:17 2002
@@ -84,7 +84,7 @@
 {
         int err;
 
- __asm__ __volatile__ ( " sr %0,01\n"
+ __asm__ __volatile__ ( " sr %0,%0\n"
                                 " lr 2,%1\n"
                                 " lr 4,%2\n"
                                 " sacf 512\n"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:25 EST