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

Martin Schwidefsky (schwidefsky@de.ibm.com)
Thu, 12 Dec 2002 19:08:00 +0100


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/