Message ID | 1464016199-43768-15-git-send-email-pbonzini@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C6BE860761 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 May 2016 15:19:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB733281E3 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 May 2016 15:19:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF69A28237; Mon, 23 May 2016 15:19:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 48135281F0 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 May 2016 15:19:36 +0000 (UTC) Received: from localhost ([::1]:48840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1b4rdn-0001bj-E7 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 23 May 2016 11:19:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1b4rUs-0002Fx-Rj for qemu-devel@nongnu.org; Mon, 23 May 2016 11:10:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1b4rUn-00046X-EQ for qemu-devel@nongnu.org; Mon, 23 May 2016 11:10:21 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:35808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1b4rUn-00046D-7d for qemu-devel@nongnu.org; Mon, 23 May 2016 11:10:17 -0400 Received: by mail-wm0-x244.google.com with SMTP id f75so9713910wmf.2 for <qemu-devel@nongnu.org>; Mon, 23 May 2016 08:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=rdtbq840RaVDDHs7uN0uKwUtDBa8zSbauPrZrf0h90Q=; b=M1CKc9eQpE9hcVAQEgXBKjt7iyCgfHf1VXdiwPfxt3y+kcNKgf67m97vKAGi+A6jTi 1x/hE/e6Zqkw2Divo5OvC94zgHzaPmlTFtyK27Zv6iZzNhO4NXHu0Yw0Alg2Pp/40wh4 4ZHHF/y+u6Z62tyZ0wT1XhFoDSoHi/lWluOhWploC8hUIjwxhwmdC2TuOAWE7bxfc7tq zbnDMcshjqDtTM4nE/KzD5UMIslbjmdLSsPk/4hWuDwewMkv48Fxq8B4vpwHwCSNb6t3 7jNyjRUvyza9tGtLjutXxnrtPZLfpnP6SOPvA+9QhiOJ6H3j40HWrjrrCT4wPAi6QMky B6+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=rdtbq840RaVDDHs7uN0uKwUtDBa8zSbauPrZrf0h90Q=; b=bGiTx/JoTwKJrCVJjETe2d8OZt0QP8w22oogdsuNhcF2BQA7vd3QeMgTlJzdSq8yBi xT80L08PqwkewJAL9xMtmCdxH6GXYuaocwgrackZCxkupPtSkGmZrxBmkzPNU+nzpRhs I/NCRYTkLK/6ryDafX0MCQTO6rGMlmSnx2F7MzCH4Zz5T9+9OYzln3ygNXqeaVqb5nya Lk8rQRSfzeYj+0xXxsYxTxox9Is26TtLbVDX8vEFOoz1rtXp6PeayhUgTwL3p7zYaKfJ nCg6/hEd3aAs8x7ficNdGn1KS2RoSu/VXqES4nulSRChVPaLMas0gcKL09lUNruLFp5I xZZA== X-Gm-Message-State: AOPr4FWs9vQCgAZiDB8ISkXWlcjEozuNVDZBc1QOq8V5LaLbUSNbH8l4rCgMHaIOEoyO2Q== X-Received: by 10.28.175.83 with SMTP id y80mr17226531wme.8.1464016216699; Mon, 23 May 2016 08:10:16 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-252-58.clienti.tiscali.it. [78.12.252.58]) by smtp.gmail.com with ESMTPSA id ac2sm19250359wjc.35.2016.05.23.08.10.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 May 2016 08:10:16 -0700 (PDT) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Mon, 23 May 2016 17:09:49 +0200 Message-Id: <1464016199-43768-15-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1464016199-43768-1-git-send-email-pbonzini@redhat.com> References: <1464016199-43768-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PULL 14/24] cpus.c: Use pthread_sigmask() rather than sigprocmask() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/cpus.c b/cpus.c index eb34b4f..f8366c6 100644 --- a/cpus.c +++ b/cpus.c @@ -780,7 +780,7 @@ static void sigbus_reraise(void) raise(SIGBUS); sigemptyset(&set); sigaddset(&set, SIGBUS); - sigprocmask(SIG_UNBLOCK, &set, NULL); + pthread_sigmask(SIG_UNBLOCK, &set, NULL); } perror("Failed to re-raise SIGBUS!\n"); abort();