diff options
author | Jeff Dike <jdike@addtoit.com> | 2008-02-04 22:31:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 09:44:30 -0800 |
commit | e6a2d1f7024f93e4622cd7ba633666a63ccce49e (patch) | |
tree | c51eb5112312cf70af9786a4fa5b650efa516de8 /arch/um/kernel/process.c | |
parent | 75ada8ffe08cef9b506a796ba6f9ce2071dcf0d7 (diff) | |
download | blackbird-op-linux-e6a2d1f7024f93e4622cd7ba633666a63ccce49e.tar.gz blackbird-op-linux-e6a2d1f7024f93e4622cd7ba633666a63ccce49e.zip |
uml: clean up sig_handler_common_skas
sig_handler_common_skas needs significant modernization, starting with
its name and storage class.
There is no need to hide the true type of the sigcontext pointer, so
the void * dummy parameter can be replaced with a sigcontext *sc.
The array of uml_pt_regs structs used in the page fault case are gone,
replaced by a local variable. This is also used in the non-segfault
case instead of the copy in the task_struct. Since it's local, the
special handling of the is_user flag can go away.
There hasn't been any special treatment of SIGUSR1 in ages, so the
line that enables it can be deleted.
The special treatment of SIGSEGV similarly goes away, but to
compensate, SA_NODEFER is added to sa_mask when registering a signal
handler.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/process.c')
0 files changed, 0 insertions, 0 deletions