aboutsummaryrefslogtreecommitdiff
path: root/linux-user/include/host/mips/host-signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/include/host/mips/host-signal.h')
-rw-r--r--linux-user/include/host/mips/host-signal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/include/host/mips/host-signal.h b/linux-user/include/host/mips/host-signal.h
index c666ed8c3f..ff840dd491 100644
--- a/linux-user/include/host/mips/host-signal.h
+++ b/linux-user/include/host/mips/host-signal.h
@@ -21,6 +21,11 @@ static inline void host_signal_set_pc(ucontext_t *uc, uintptr_t pc)
uc->uc_mcontext.pc = pc;
}
+static inline void *host_signal_mask(ucontext_t *uc)
+{
+ return &uc->uc_sigmask;
+}
+
#if defined(__misp16) || defined(__mips_micromips)
#error "Unsupported encoding"
#endif