linux-user: Implement force_sigsegv() via force_sig()
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Jul 2016 15:44:50 +0000 (16:44 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 21 Sep 2016 19:01:45 +0000 (22:01 +0300)
commitc4b3574402053a88612eab3b66a53825a00145a2
tree548bb6cf90cc7762d4ec496a533e89b192d5b6f8
parentc599d4d6d6e9bfdb64e54c33a22cb26e3496b96d
linux-user: Implement force_sigsegv() via force_sig()

Now that we have a force_sig() with the semantics we need,
we can implement force_sigsegv() to call it rather than
open-coding the call to queue_signal().

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/signal.c