qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 54/55] linux-user: Amend sigaction syscall suppor


From: Aleksandar Markovic
Subject: [Qemu-devel] [PATCH v4 54/55] linux-user: Amend sigaction syscall support for nanoMIPS
Date: Tue, 24 Jul 2018 19:32:06 +0200

From: Aleksandar Rikalo <address@hidden>

Amend sigaction syscall support for nanoMIPS. This must be done
since nanoMIPS' signal handling is different than MIPS' signal
handling.

Signed-off-by: Aleksandar Rikalo <address@hidden>
Signed-off-by: Aleksandar Markovic <address@hidden>
Signed-off-by: Stefan Markovic <address@hidden>
---
 linux-user/syscall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 3d57966..bced9b8 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -8825,7 +8825,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
                 old_act->sa_flags = oact.sa_flags;
                 unlock_user_struct(old_act, arg3, 1);
             }
-#elif defined(TARGET_MIPS)
+#elif defined(TARGET_MIPS) && !defined(TARGET_NANOMIPS)
            struct target_sigaction act, oact, *pact, *old_act;
 
            if (arg2) {
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]