[PATCH] ppc64: More incorrect syscall error test

From: Benjamin Herrenschmidt
Date: Tue Mar 30 2004 - 01:03:00 EST


Oops, there was two different code path affected by this
bug (strace and normal) and I fixed only one. Here's the
other one:

===== arch/ppc64/kernel/entry.S 1.34 vs edited =====
--- 1.34/arch/ppc64/kernel/entry.S Tue Mar 30 14:53:28 2004
+++ edited/arch/ppc64/kernel/entry.S Tue Mar 30 15:59:43 2004
@@ -194,7 +194,7 @@
_GLOBAL(ret_from_syscall_2)
std r3,RESULT(r1) /* Save result */
li r10,-_LAST_ERRNO
- cmpl 0,r3,r10
+ cmpld 0,r3,r10
blt 60f
neg r3,r3
57: ld r10,_CCR(r1) /* Set SO bit in CR */


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