summary refs log tree commit diff stats
path: root/linux-user/alpha/target_signal.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-04-22 16:02:25 -0700
committerLaurent Vivier <laurent@vivier.eu>2021-05-18 07:10:45 +0200
commit0f6f99032e495b28b8d455144610c5a84a7067d8 (patch)
tree79a0501d0723bd739b13f72e6907e5f7238cf1b9 /linux-user/alpha/target_signal.h
parentca192277db2bfc466840f19f2ee314a84fc78d5c (diff)
downloadfocaccia-qemu-0f6f99032e495b28b8d455144610c5a84a7067d8.tar.gz
focaccia-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/target_signal.h')
-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 */