]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit931916ecaa3f6757f0148229ba01a937d922e3fa
tree6c2297c8d57f682a427eb7dd601154551024e5d9
parenta285b01a611c5f7ef86401388bb7ed55aac07deb
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