]> git.proxmox.com Git - mirror_qemu.git/blobdiff - linux-user/signal.c
migration: not necessary to check ops again
[mirror_qemu.git] / linux-user / signal.c
index e2c0b3717357e9dfc6e2d05517cae502fc552afa..44b2d3b35a0d8855122d9284c5dba47ce6ba7590 100644 (file)
@@ -508,6 +508,11 @@ void signal_init(void)
     act.sa_flags = SA_SIGINFO;
     act.sa_sigaction = host_signal_handler;
     for(i = 1; i <= TARGET_NSIG; i++) {
+#ifdef TARGET_GPROF
+        if (i == SIGPROF) {
+            continue;
+        }
+#endif
         host_sig = target_to_host_signal(i);
         sigaction(host_sig, NULL, &oact);
         if (oact.sa_sigaction == (void *)SIG_IGN) {