powerpc: Use correct ccr bit for syscall error status
authorNathan Lynch <ntl@pobox.com>
Fri, 12 Mar 2010 13:16:02 +0000 (13:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 19 Mar 2010 05:38:16 +0000 (16:38 +1100)
commit409d241b7bb2cf0278186040ace1c4704fb2a82f
tree6c2297c8d57f682a427eb7dd601154551024e5d9
parentd6a8536a93a3d14b6e5e3e3a59b9fb2bca6e8df2
powerpc: Use correct ccr bit for syscall error status

The powerpc implementations of syscall_get_error and
syscall_set_return_value should use CCR0:S0 (0x10000000) for testing
and setting syscall error status.  Fortunately these APIs don't seem
to be used at the moment.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/syscall.h