aboutsummaryrefslogtreecommitdiff
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-05-27 14:02:17 -0500
committerStafford Horne <shorne@gmail.com>2018-07-03 22:40:33 +0900
commite8f29049b1e904068ce874e6a40b6ad18b26e121 (patch)
tree954be452e037a4384971bf9c9554bea2ebad70d1 /linux-user/signal.c
parentecbed7280c832220d9ac8ea7c0b6163393e3cb1a (diff)
downloadqemu-e8f29049b1e904068ce874e6a40b6ad18b26e121.zip
qemu-e8f29049b1e904068ce874e6a40b6ad18b26e121.tar.gz
qemu-e8f29049b1e904068ce874e6a40b6ad18b26e121.tar.bz2
linux-user: Implement signals for openrisc
All of the existing code was boilerplate from elsewhere, and would crash the guest upon the first signal. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Stafford Horne <shorne@gmail.com> --- v2: Add a comment to the new definition of target_pt_regs. Install the signal mask into the ucontext. v3: Incorporate feedback from Laurent.
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r--linux-user/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index be2815b..602b631 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -236,7 +236,7 @@ int do_sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
return 0;
}
-#if !defined(TARGET_OPENRISC) && !defined(TARGET_NIOS2)
+#if !defined(TARGET_NIOS2)
/* Just set the guest's signal mask to the specified value; the
* caller is assumed to have called block_signals() already.
*/