linux-kernel-test/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 kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file 2005-09-09 22:47:53 +02:00
break.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cmode.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry-table.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry.S [PATCH] frv: fix signal handling 2006-01-06 08:33:33 -08:00
frv_ksyms.c [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
futex.c [PATCH] FRV: Implement futex operations for FRV 2006-01-06 08:33:33 -08:00
gdb-io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-mmu-fr451.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-uc-fr401.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-uc-fr451.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head-uc-fr555.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head.inc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-mb93091.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-mb93093.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-mb93493.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq-routing.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c [PATCH] frv: implement and export various things required by modules 2006-01-08 20:13:36 -08:00
kernel_thread.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
local.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
semaphore.c [PATCH] FRV: Make the FRV arch work again 2005-11-28 14:42:23 -08:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
switch_to.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys_frv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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