aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/sigio.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2008-02-04 22:31:13 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 09:44:30 -0800
commite6a2d1f7024f93e4622cd7ba633666a63ccce49e (patch)
treec51eb5112312cf70af9786a4fa5b650efa516de8 /arch/um/kernel/sigio.c
parent75ada8ffe08cef9b506a796ba6f9ce2071dcf0d7 (diff)
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/sigio.c')
0 files changed, 0 insertions, 0 deletions