linux/arch/frv/kernel
David Howells a411aee96e [PATCH] Handle TIF_RESTORE_SIGMASK for FRV
Handle TIF_RESTORE_SIGMASK as added by David Woodhouse's patch entitled:

        [PATCH] 2/3 Add TIF_RESTORE_SIGMASK support for arch/powerpc
        [PATCH] 3/3 Generic sys_rt_sigsuspend

It does the following:

 (1) Declares TIF_RESTORE_SIGMASK for FRV.

 (2) Invokes it over to do_signal() when TIF_RESTORE_SIGMASK is set.

 (3) Makes do_signal() support TIF_RESTORE_SIGMASK, using the signal mask saved
     in current->saved_sigmask.

 (4) Discards sys_rt_sigsuspend() from the arch, using the generic one instead.

 (5) Makes sys_sigsuspend() save the signal mask and set TIF_RESTORE_SIGMASK
     rather than attempting to fudge the return registers.

 (6) Makes sys_sigsuspend() return -ERESTARTNOHAND rather than looping
     intrinsically.

 (7) Makes setup_frame(), setup_rt_frame() and handle_signal() return 0 or
     -EFAULT rather than true/false to be consistent with the rest of the
      kernel.

Due to the fact do_signal() is then only called from one place:

 (8) Make do_signal() no longer have a return value is it was just being
     ignored; force_sig() takes care of this.

 (9) Discards the old sigmask argument to do_signal() as it's no longer
     necessary.

This patch depends on the FRV signalling patches as well as the
sys_rt_sigsuspend patch.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-18 19:20:29 -08:00
..
asm-offsets.c
break.S
cmode.S
debug-stub.c
dma.c
entry-table.S
entry.S
frv_ksyms.c [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
futex.c
gdb-io.c
gdb-io.h
gdb-stub.c
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.inc
head.S
init_task.c
irq-mb93091.c
irq-mb93093.c
irq-mb93493.c
irq-routing.c
irq.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
kernel_thread.S
local.h
Makefile [PATCH] frv: add module support stubs 2006-01-08 20:13:37 -08:00
module.c [PATCH] frv: add module support stubs 2006-01-08 20:13:37 -08:00
pm-mb93093.c
pm.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
process.c [PATCH] frv: task_thread_info(), task_stack_page() 2006-01-12 09:08:54 -08:00
ptrace.c
semaphore.c
setup.c [PATCH] frv: force serial driver inclusion 2006-01-08 20:13:38 -08:00
signal.c [PATCH] Handle TIF_RESTORE_SIGMASK for FRV 2006-01-18 19:20:29 -08:00
sleep.S
switch_to.S
sys_frv.c
sysctl.c
time.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
traps.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
uaccess.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
vmlinux.lds.S [PATCH] frv: miscellaneous changes 2006-01-08 20:13:38 -08:00