From patchwork Wed Jan 30 00:47:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emilio Cota X-Patchwork-Id: 10787465 Return-Path: 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 8E36C1390 for ; Wed, 30 Jan 2019 01:20:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F7562C94A for ; Wed, 30 Jan 2019 01:20:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 738AB2D1F7; Wed, 30 Jan 2019 01:20:38 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EC0A02C94A for ; Wed, 30 Jan 2019 01:20:37 +0000 (UTC) Received: from localhost ([127.0.0.1]:58246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goeYP-00016d-7R for patchwork-qemu-devel@patchwork.kernel.org; Tue, 29 Jan 2019 20:20:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goe42-0000Gq-F1 for qemu-devel@nongnu.org; Tue, 29 Jan 2019 19:49:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goe41-0001Vz-Bm for qemu-devel@nongnu.org; Tue, 29 Jan 2019 19:49:14 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54579) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1goe41-00016v-61 for qemu-devel@nongnu.org; Tue, 29 Jan 2019 19:49:13 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 674A622182; Tue, 29 Jan 2019 19:48:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 29 Jan 2019 19:48:26 -0500 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=yeZSU+KbVkJbrjbwW81TBIqRy5fS2E0CF7nSVVHNFJA=; b=Ue/AS 2aTN1RjrJqQiEzwHmsyZL5+FZaUYcsyjzGuShleMh6TCQKE1e+mctVbZmpAkOqCP +S7s7dK4UKY8qydNlN+SHRG2+/x53L0/lA8DJfDPyBR/f0bbgq42pvRHtSymWPgi bpao5zramUjWj+4mJK1SRzzKJxvvRDs5Ea+xXc= 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=yeZSU+KbVkJbrjbwW81TBIqRy5fS2 E0CF7nSVVHNFJA=; b=errA1Tcwm3ri23VOf4RRz/MVKhM1u+EaNRjfiNrrUsD9V REjp91nKOspPv4z8xGAlTndOZvvaLAEIaG4VywnBq1lhsK04IZgqjZUrTXDnDNbG SpjeQU9wx/tx4bQNFJHcn25Mao2s51XblCZ9YZkEEStzsLX170h+MAE1KR1xJmRG AnnQN7izxOqPiiOv7f8ohNoQELYC6d2aVMrnt6B8+dmWybsWL4HTLDnP0eDYfKXx n19CgMm4r6A7QCnAp1dSFfIAqxsWMlo8NwmPwFb+030omIRWK5KTAP8q07mfQiw2 plG2GaZ/GHbozJxyJGqB8w4sJ5rsoctraVUgb40ew== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrjeefgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojg hfsedttdertdertddtnecuhfhrohhmpedfgfhmihhlihhoucfirdcuvehothgrfdcuoegt ohhtrgessghrrggrphdrohhrgheqnecukfhppeduvdekrdehledrvddtrddvudeinecurf grrhgrmhepmhgrihhlfhhrohhmpegtohhtrgessghrrggrphdrohhrghenucevlhhushht vghrufhiiigvpeek X-ME-Proxy: Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 102DEE4664; Tue, 29 Jan 2019 19:48:26 -0500 (EST) From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Tue, 29 Jan 2019 19:47:47 -0500 Message-Id: <20190130004811.27372-50-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190130004811.27372-1-cota@braap.org> References: <20190130004811.27372-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.25 Subject: [Qemu-devel] [PATCH v6 49/73] m68k: convert to cpu_interrupt_request X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Cc: Laurent Vivier Reviewed-by: Richard Henderson Reviewed-by: Laurent Vivier Signed-off-by: Emilio G. Cota --- target/m68k/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c index 582e3a73b3..99a7eb4340 100644 --- a/target/m68k/cpu.c +++ b/target/m68k/cpu.c @@ -34,7 +34,7 @@ static void m68k_cpu_set_pc(CPUState *cs, vaddr value) static bool m68k_cpu_has_work(CPUState *cs) { - return cs->interrupt_request & CPU_INTERRUPT_HARD; + return cpu_interrupt_request(cs) & CPU_INTERRUPT_HARD; } static void m68k_set_feature(CPUM68KState *env, int feature)