Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Josh Poimboeuf 41c2e949cb powerpc: Fix error path in kernel_thread function
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 <jpoimboe@us.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-10-10 15:55:18 +11:00
..
2008-07-03 16:58:10 +10:00
2008-07-03 16:58:10 +10:00
2007-05-11 05:38:25 -04:00
2008-06-30 22:31:00 +10:00
2008-09-24 16:26:43 -05:00
2008-09-24 16:26:45 -05:00
2008-03-07 08:42:28 -06:00
2008-05-23 22:43:11 +02:00
2008-07-26 12:00:04 -07:00
2008-09-24 16:26:45 -05:00
2008-09-24 16:26:43 -05:00
2008-09-24 16:26:45 -05:00
2008-09-24 16:26:45 -05:00
2007-10-11 14:36:47 +10:00
2008-07-16 11:07:59 +10:00
2008-08-04 13:18:17 +10:00
2008-09-24 16:26:43 -05:00