Message ID | 20181025144644.15464-45-cota@braap.org (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-2.web.codeaurora.org (Postfix) with ESMTP id 274DC13A4 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:19:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16F832BCF6 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:19:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B80C2BCF9; Thu, 25 Oct 2018 15:19:18 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 962D32BCF6 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:19:17 +0000 (UTC) Received: from localhost ([::1]:55125 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 1gFhPo-0000iW-O9 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 25 Oct 2018 11:19:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFh5N-0004Pv-5M for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:58:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgvG-0008ER-D9 for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:43 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59559) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgvG-000840-3C for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:42 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 96D0621C5C; Thu, 25 Oct 2018 10:46:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 25 Oct 2018 10:46:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=bqBHJQ4l6vnW/AIp0ZVvdL6OZsoSoj/iVYInamjYQ4c=; b=Fbf5Y u5k7f5jvGcWq8Usa2vUElDn9GSLh22x69GJjaOlCJhk6ahKPryRP3YlFSfRDX+zA r9F6bIhAV7+bq2W+n2HNI8uIR05eSdS3YG0YF+LOZP2EZsM7vue8eq14eS+wIdAu zL0FAdOsk2ywv/P30ds4+/npXQcZelwLKsRFlk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=bqBHJQ4l6vnW/AIp0ZVvdL6OZsoSo j/iVYInamjYQ4c=; b=gtVdWjSqPj6yHx0bgGS1UIqs2VTta8M3l5An2gdxNWMA0 bn+iBl5XgZh7P7Xx6oygbrtS+KkCgW+ZkkqSOfX7RnjZ9Bj23x2YVWnjjLy10t4b iIvnAIji+57cb7pxsgkMSz5wNLDE0AwxTE3+Zoi/6mUGAAAU3jslK6xF4VyWDn+1 6s84LXbBRVwjO+3Q2HkmgXhTn8rrq3vgmy5N9fxH5KnIG6IwC5gcfbY4HUsLlhgj fshEXCn378pxexc8xpSup5e8BmbtXUvgB/ZSewDZZVs3jsaViV66O52y0ei9aQvz foFikzrOAg/IYI/FpROxM4ELtELk1JTZROktWbjbw== X-ME-Sender: <xms:YNfRW7cpbyQeRUBcSnPPrP0dqJaUowP4HXLEyNRO7EuSZt5u_MlWaw> X-ME-Proxy: <xmx:YNfRW8IsBkls5u6_QZ6kTlJtLHT85MPWd4q2xD7FLC-PshOUQtqAUw> <xmx:YNfRW25r23rMIWAf0trs5jvgm7y5KTAm6WtJGJXaxrLKd2ayyfVS4w> <xmx:YNfRW7lh_OteSVd6w8tPI7EFD9Rc1SdclN0vs5KnQXsVDx1Uhw6W_A> <xmx:YNfRWwIrFlse05AX7KkTpOPXAdxRJkYcK7Idk5_kejqXpxXJaeXT0Q> <xmx:YNfRW0FjFuN-hdd4nFUjxckK_a1PDcR8N81xk6ciQnjNKyXHH5i73Q> <xmx:YNfRW4iGjlZLDO_fS4d-l4U0Mk91kN1Ubp8Spw49hTtLw8kJQHHeWQ> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 436E5E4897; Thu, 25 Oct 2018 10:46:56 -0400 (EDT) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Thu, 25 Oct 2018 10:46:18 -0400 Message-Id: <20181025144644.15464-45-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025144644.15464-1-cota@braap.org> References: <20181025144644.15464-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 Subject: [Qemu-devel] [RFC v4 45/71] hppa: convert to cpu_interrupt_request 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: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@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 |
Series |
[RFC,v4,01/71] cpu: convert queued work to a QSIMPLEQ
|
expand
|
Emilio G. Cota <cota@braap.org> writes: > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/hppa/cpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c > index 00bf444620..1ab4e62850 100644 > --- a/target/hppa/cpu.c > +++ b/target/hppa/cpu.c > @@ -60,7 +60,7 @@ static void hppa_cpu_synchronize_from_tb(CPUState *cs, TranslationBlock *tb) > > static bool hppa_cpu_has_work(CPUState *cs) > { > - return cs->interrupt_request & CPU_INTERRUPT_HARD; > + return cpu_interrupt_request(cs) & CPU_INTERRUPT_HARD; > } > > static void hppa_cpu_disas_set_info(CPUState *cs, disassemble_info *info) -- Alex Bennée
diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index 00bf444620..1ab4e62850 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -60,7 +60,7 @@ static void hppa_cpu_synchronize_from_tb(CPUState *cs, TranslationBlock *tb) static bool hppa_cpu_has_work(CPUState *cs) { - return cs->interrupt_request & CPU_INTERRUPT_HARD; + return cpu_interrupt_request(cs) & CPU_INTERRUPT_HARD; } static void hppa_cpu_disas_set_info(CPUState *cs, disassemble_info *info)