linux-user: fix x86_64 safe_syscall
commit4eed9990a0d50d9c2bc7042fb3b68579985867ae
authorRichard Henderson <rth@twiddle.net>
Mon, 13 Jun 2016 21:45:21 +0000 (13 14:45 -0700)
committerRiku Voipio <riku.voipio@linaro.org>
Sun, 26 Jun 2016 10:17:22 +0000 (26 13:17 +0300)
treed1e4f3b04de8ca0b6efa72c325f8b9ed4a215e54
parentb9403979b5c51d42018f40bf568d07519edb992e
linux-user: fix x86_64 safe_syscall

Do what the comment says, test for signal_pending non-zero,
rather than the current code which tests for bit 0 non-zero.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/host/x86_64/safe-syscall.inc.S