patch-2.4.4 linux/include/asm-s390x/uaccess.h

Next file: linux/include/asm-s390x/vtoc.h
Previous file: linux/include/asm-s390x/types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/include/asm-s390x/uaccess.h linux/include/asm-s390x/uaccess.h
@@ -432,21 +432,20 @@
                                 "   sacf  512\n"
                                 "0: ic    3,0(%0,4)\n"
                                 "1: stc   3,0(%0,2)\n"
+                                "   ltr   3,3\n"
+                                "   jz    2f\n"
                                 "   aghi  %0,1\n"
                                 "   cgr   %0,%3\n"
-                                "   je    2f\n"
-                                "   ltr   3,3\n"
-                                "   jne   0b\n"
+                                "   jl    0b\n"
                                 "2: sacf  0\n"
-				"3:\n"
 				".section .fixup,\"ax\"\n"
-				"4: lghi  %0,%h4\n"
-				"   jg    3b\n"  
+				"3: lghi  %0,%h4\n"
+				"   jg    2b\n"  
 				".previous\n"
 				".section __ex_table,\"a\"\n"
 				"   .align 8\n"
-				"   .quad  0b,4b\n"
-				"   .quad  1b,4b\n"
+				"   .quad  0b,3b\n"
+				"   .quad  1b,3b\n"
 				".previous"
                                 : "=&a" (len)
                                 : "a"  (dst), "d" (src), "d" (count),

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)