diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-14 00:55:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-14 08:52:23 -0800 |
commit | a4858d4dab4580ec8b1fb7576f91522b6962502c (patch) | |
tree | d3b356a3f021bdffbef5d3803264b0a25a8bb1ac /arch/cris/arch-v10/kernel/time.c | |
parent | 3ea0345be38555c6a1a04ed7e9c015a42e76bd0e (diff) |
CRIS v10: correct do_signal to fix oops and clean up signal handling in general
This fixes a kernel panic on boot due to do_signal not being compatible
with it's callers.
- do_signal now returns void, and does not have the previous signal set
as a parameter.
- Remove sys_rt_sigsuspend, we can use the common one instead.
- Change sys_sigsuspend to be more like x86, don't call do_signal here.
- handle_signal, setup_frame and setup_rt_frame now return -EFAULT
if we've delivered a segfault, which is used by callers to perform
necessary cleanup.
- Break long lines, correct whitespace and formatting errors.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <mikael.starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris/arch-v10/kernel/time.c')
0 files changed, 0 insertions, 0 deletions