summaryrefslogtreecommitdiffstats
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRichard Henderson2021-04-23 01:02:25 +0200
committerLaurent Vivier2021-05-18 07:10:45 +0200
commit0f6f99032e495b28b8d455144610c5a84a7067d8 (patch)
tree79a0501d0723bd739b13f72e6907e5f7238cf1b9 /linux-user/alpha
parentlinux-user: Honor TARGET_ARCH_HAS_SA_RESTORER in do_syscall (diff)
downloadqemu-0f6f99032e495b28b8d455144610c5a84a7067d8.tar.gz
qemu-0f6f99032e495b28b8d455144610c5a84a7067d8.tar.xz
qemu-0f6f99032e495b28b8d455144610c5a84a7067d8.zip
linux-user/alpha: Define TARGET_ARCH_HAS_KA_RESTORER
This means that we can share the TARGET_NR_rt_sigaction code, and the target_rt_sigaction structure is unused. Untangling the ifdefs so that target_sigaction can be shared will wait until the next patch. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210422230227.314751-6-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/alpha')
-rw-r--r--linux-user/alpha/target_signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/alpha/target_signal.h b/linux-user/alpha/target_signal.h
index 0b90d3a897..250642913e 100644
--- a/linux-user/alpha/target_signal.h
+++ b/linux-user/alpha/target_signal.h
@@ -92,6 +92,7 @@ typedef struct target_sigaltstack {
#define TARGET_GEN_SUBRNG7 -25
#define TARGET_ARCH_HAS_SETUP_FRAME
+#define TARGET_ARCH_HAS_KA_RESTORER
/* bit-flags */
#define TARGET_SS_AUTODISARM (1U << 31) /* disable sas during sighandling */