Commit 7a538652 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Linus Torvalds

[PATCH] ppc64: More incorrect syscall error test

Oops, there was two different code path affected by this
bug (strace and normal) and I fixed only one. Here's the
other one:
parent 0ef9775d
......@@ -194,7 +194,7 @@ _GLOBAL(ret_from_syscall_1)
_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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment