Hexagon: Signal and return path fixes
authorRichard Kuo <rkuo@codeaurora.org>
Tue, 29 May 2012 22:23:14 +0000 (17:23 -0500)
committerRichard Kuo <rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:24 +0000 (19:40 -0500)
commita11e67c2611d483622aad007a3533e7dfbea700e
treef54feb07c1f71d87fdf6aaf3b67b80c0ccff3f74
parent60c4ba99e015afe879c2682967c8ca8d233f6d3c
Hexagon: Signal and return path fixes

This fixes the return value of sigreturn and moves the work pending check
into a c routine for readability and fixes the loop for multiple pending
signals.  Based on feedback from Al Viro.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/uapi/asm/signal.h
arch/hexagon/kernel/process.c
arch/hexagon/kernel/signal.c
arch/hexagon/kernel/traps.c
arch/hexagon/kernel/vm_entry.S