kernel-ark/arch/avr32/kernel
Martin Koegler 7c1b90a1e9 avr32: Fix sigaltstack behaviour
A signal handler should be able to change the signal stack used for the
next signal by altering the ucontext_t passed as a parameter to the
handler. This does not currently work on avr32 since it doesn't update
the in-kernel signal context from the ucontext_t upon signal handler
return.

Fix it by adding a call to do_sigaltstack() from sys_rt_sigreturn(),
bringing it in line with most other architectures.

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
[haavard.skinnemoen@atmel.com: changed patch description]
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-06-27 15:07:35 +02:00
..
asm-offsets.c avr32: use kbuild.h macros instead of defining macros in asm-offsets.c 2008-04-29 08:06:29 -07:00
avr32_ksyms.c avr32: export strnlen_user 2008-05-26 13:26:36 +02:00
cpu.c [AVR32] constify function pointer tables 2008-01-25 08:31:43 +01:00
entry-avr32b.S avr32: Move sleep code into mach-at32ap 2008-04-19 20:40:07 -04:00
head.S
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
irq.c [AVR32] NMI debugging 2008-01-25 08:31:43 +01:00
kprobes.c
Makefile Generic semaphore implementation 2008-04-17 10:42:34 -04:00
module.c
nmi_debug.c [AVR32] NMI debugging 2008-01-25 08:31:43 +01:00
ocd.c libfs: allow error return from simple attributes 2008-02-08 09:22:34 -08:00
process.c avr32: Add hardware power-down function call 2008-04-19 20:40:11 -04:00
ptrace.c
setup.c atmel_lcdfb: don't initialize a pre-allocated framebuffer 2008-04-28 08:58:38 -07:00
signal.c avr32: Fix sigaltstack behaviour 2008-06-27 15:07:35 +02:00
stacktrace.c
switch_to.S
sys_avr32.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
syscall_table.S Fix timerfd breakage on avr32 2008-02-05 14:37:15 -08:00
syscall-stubs.S
time.c avr32: Generic clockevents support 2008-04-19 20:40:08 -04:00
traps.c avr32: Build fix for CONFIG_BUG=n 2008-03-13 23:56:15 +01:00
vmlinux.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00