aboutsummaryrefslogtreecommitdiff
path: root/linux-user/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r--linux-user/signal.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index ef9b7356c2..c3b0cde3b9 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -113,11 +113,15 @@ static inline int sas_ss_flags(unsigned long sp)
static inline int host_to_target_signal(int sig)
{
+ if (sig > 64)
+ return sig;
return host_to_target_signal_table[sig];
}
-static inline int target_to_host_signal(int sig)
+int target_to_host_signal(int sig)
{
+ if (sig > 64)
+ return sig;
return target_to_host_signal_table[sig];
}