Jesper Nilsson a4858d4dab 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>
2008-01-14 08:52:23 -08:00
..
2005-04-16 15:20:36 -07:00
2007-10-20 01:08:50 +02:00
2007-11-14 18:45:46 -08:00
2007-10-19 23:22:55 +02:00
2005-07-27 16:25:59 -07:00
2007-10-20 01:08:50 +02:00
2007-10-16 09:42:49 -07:00
2007-11-14 18:45:46 -08:00
2007-10-20 01:08:50 +02:00
2007-11-14 18:45:47 -08:00