diff options
author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | 2008-05-28 20:50:07 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-06-27 15:07:35 +0200 |
commit | 7c1b90a1e964f72bde88511e5cfe1c04318ff3d1 (patch) | |
tree | b112564c758ac02033a003e134338fe6a157aa75 /arch/avr32/lib/io-readsb.S | |
parent | 60ed7951d0c9bf8de8588384134f16474367b410 (diff) |
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>
Diffstat (limited to 'arch/avr32/lib/io-readsb.S')
0 files changed, 0 insertions, 0 deletions