diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2017-11-06 18:33:26 +0000 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2017-11-07 21:59:51 +0200 |
| commit | 78bfef72fbf8705f002c5c57cf3f1d3b8e83399e (patch) | |
| tree | a34b8c1c486f87655de8ae7f0dc5c0eaf8ca0520 /hw/display/virtio-gpu.c | |
| parent | 8d8cb956e0a679fcf0a8e24f1b2f34e038cdd48e (diff) | |
| download | focaccia-qemu-78bfef72fbf8705f002c5c57cf3f1d3b8e83399e.tar.gz focaccia-qemu-78bfef72fbf8705f002c5c57cf3f1d3b8e83399e.zip | |
linux-user: Handle rt_sigaction correctly for SPARC
SPARC is like Alpha in its handling of the rt_sigaction syscall: it takes an extra parameter 'restorer' which needs to be copied into the sa_restorer field of the sigaction struct. The order of the arguments differs slightly between SPARC and Alpha but the implementation is otherwise the same. (Compare the rt_sigaction() functions in arch/sparc/kernel/sys_sparc_64.c and arch/alpha/kernel/signal.c.) Note that this change is somewhat moot until SPARC acquires support for actually delivering RT signals. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'hw/display/virtio-gpu.c')
0 files changed, 0 insertions, 0 deletions