signal/all/do_sigreturn - remove __get_user checks
commitf5f601afcec6c1081128fe5a0f831788ca9f56ed
authorRiku Voipio <riku.voipio@linaro.org>
Wed, 23 Apr 2014 10:00:17 +0000 (23 13:00 +0300)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 17 Jun 2014 05:52:07 +0000 (17 08:52 +0300)
treed3449886c971e23cfc1ba69eb5172bcaac0aa9e8
parent9eeb8306d56e8fd831bbbac6e3cfe69a40312a33
signal/all/do_sigreturn - remove __get_user checks

Remove "if(__get_user" checks and their related error paths
for all architecture's do_sigreturn. Remove the unlock_user_struct
when the only way to end up there is from failed lock_user_struct.

v3: remove unneccesary sigsegv label as suggested by Peter

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