Message ID | 20210621110445.231771-3-laurent@vivier.eu |
---|---|
State | New |
Headers | show |
Series | [PULL,1/9] linux-user: Set CF_PARALLEL when mapping shared memory | expand |
diff --git a/linux-user/signal.c b/linux-user/signal.c index 9016896dcda0..0f19c59deee9 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -38,7 +38,9 @@ static void host_signal_handler(int host_signum, siginfo_t *info, * Signal number 0 is reserved for use as kill(pid, 0), to test whether * a process exists without sending it a signal. */ +#ifdef __SIGRTMAX QEMU_BUILD_BUG_ON(__SIGRTMAX + 1 != _NSIG); +#endif static uint8_t host_to_target_signal_table[_NSIG] = { [SIGHUP] = TARGET_SIGHUP, [SIGINT] = TARGET_SIGINT,