android_kernel_xiaomi_sm8350/arch/avr32
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
..
boards avr32: Allow board to define oscillator rates 2008-06-27 15:07:16 +02:00
boot
configs avr32: Update defconfigs 2008-05-26 13:38:29 +02:00
kernel avr32: Fix sigaltstack behaviour 2008-06-27 15:07:35 +02:00
lib read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
mach-at32ap avr32: Allow board to define oscillator rates 2008-06-27 15:07:16 +02:00
mm avr32: export empty_zero_page 2008-06-27 15:07:07 +02:00
oprofile avr32: Delete mostly unused header asm/intc.h 2008-04-19 20:40:07 -04:00
Kconfig avr32: Generic clockevents support 2008-04-19 20:40:08 -04:00
Kconfig.debug [AVR32] Include instrumentation menu 2008-01-25 08:31:40 +01:00
Makefile [AVR32] Add support for AT32AP7001 and AT32AP7002 2008-01-25 08:31:41 +01:00