]> git.proxmox.com Git - mirror_qemu.git/commit
user-exec: Don't reextract sigmask from usercontext pointer
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 17 May 2016 14:18:05 +0000 (15:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 9 Jun 2016 14:55:02 +0000 (15:55 +0100)
commita5852dc5de140fafa364722c35b8fe74d9f929a2
tree343472dc18656d8adb1f3b922cc7ad2733806758
parent6886b98036a8f8f5bce8b10756ce080084cef11b
user-exec: Don't reextract sigmask from usercontext pointer

Extracting the old signal mask from the usercontext pointer passed to
a signal handler is a pain because it is OS and CPU dependent.
Since we've already done it once and passed it to handle_cpu_signal(),
there's no need to do it again in cpu_exit_tb_from_sighandler().
This then means we don't need to pass a usercontext pointer in to
handle_cpu_signal() at all.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Riku Voipio <riku.voipio@linaro.org>
Message-id: 1463494687-25947-5-git-send-email-peter.maydell@linaro.org
user-exec.c