lkml.org 
[lkml]   [2004]   [Mar]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] ppc64: More incorrect syscall error test
FromBenjamin Herrenschmidt <>
DateTue, 30 Mar 2004 16:00:58 +1000
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.038 / U:0.120 seconds]
©2003-2008 Jasper Spaans