Josh Boyer writes: > From: Josh Poimboeuf <[EMAIL PROTECTED]> > > The powerpc 32-bit and 64-bit kernel_thread functions don't properly > propagate errors being returned by the clone syscall. (In the case of > error, the syscall exit code returns a positive errno in r3 and sets > the CR0[SO] bit.) > > This patch fixes that by negating r3 if CR0[SO] is set after the syscall. > > Signed-off-by: Josh Poimboeuf <[EMAIL PROTECTED]> > Signed-off-by: Josh Boyer <[EMAIL PROTECTED]>
Acked-by: Paul Mackerras <[EMAIL PROTECTED]> _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev