diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-05-17 15:18:05 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-06-09 15:55:02 +0100 |
commit | a5852dc5de140fafa364722c35b8fe74d9f929a2 (patch) | |
tree | 343472dc18656d8adb1f3b922cc7ad2733806758 /ui/console.c | |
parent | 6886b98036a8f8f5bce8b10756ce080084cef11b (diff) |
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
Diffstat (limited to 'ui/console.c')
0 files changed, 0 insertions, 0 deletions