Message ID | 20190130004811.27372-12-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 EEEA391E for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 30 Jan 2019 00:58:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E06532C971 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 30 Jan 2019 00:58:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D4EAB2C977; Wed, 30 Jan 2019 00:58:36 +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 866E02C971 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 30 Jan 2019 00:58:36 +0000 (UTC) Received: from localhost ([127.0.0.1]:57901 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 1goeD5-0008FJ-P2 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 29 Jan 2019 19:58:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1goe37-0007tC-02 for qemu-devel@nongnu.org; Tue, 29 Jan 2019 19:48:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1goe36-0000fh-8s for qemu-devel@nongnu.org; Tue, 29 Jan 2019 19:48:16 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57231) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1goe36-0000f5-3j for qemu-devel@nongnu.org; Tue, 29 Jan 2019 19:48:16 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B99002207D; Tue, 29 Jan 2019 19:48:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 29 Jan 2019 19:48:15 -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 :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=4UCa3gNnWmKbHt6WSB28opNWJSJ3lW2feXaolQrbTHk=; b=p02utQ9MEIyi mTE3Ua9RSDl2I7+kjQ3aO9eI/pc38cal2qu+gsgGZju5My3tHprPSEgcWQPXPhMf Rmlqvlj2jy84Jn/ewXn1wIJhm5rSEiOwIDA/RF+xBosy8i7l6hLJnNTgVrqTOT+Y +7WRwCA7BCHKuTS5uSZIgK0K9XQIi/c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=4UCa3gNnWmKbHt6WSB28opNWJSJ3lW2feXaolQrbT Hk=; b=PfpXz5PS7AJafepyqUM39sT5Xh1UvBNLxIswch5TbuIh4GvIzjAq8Us7R qpMQfw5mo4PEcI5jxQ059TTTYH0I/OxuQGH5xSp9yIRcyI3K/WfjcboezJ3ODY5D RSa1OlTvywQ4H4C+2ByGZAGg9+vrKTSJJ2peAJ4Xn1Fq8b1XrCpe2Bl1F0/UqgCl HrYoIo5x6ytYoTCv8u+jxM8PjRxWGDJNZsxvmADCi3mOkE+/yZqe4jJP9cy6bCxs tm6tr8BMvAqQFfUwCaXQBKI/jlzI9Czia1/4oQNf9+s+Ao5EODTgs78y14fms7wS RirC0w/r1i5lk8OX5qJC4nApPw/PQ== X-ME-Sender: <xms:T_RQXA4EWNiOG8E32Tz2dZ3XYBAIBpHS8EHa_ZQok7Gs8zVbqLuABw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrjeefgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojg hfgggtgfesthekredtredtjeenucfhrhhomhepfdfgmhhilhhiohcuifdrucevohhtrgdf uceotghothgrsegsrhgrrghprdhorhhgqeenucfkphepuddvkedrheelrddvtddrvdduie enucfrrghrrghmpehmrghilhhfrhhomheptghothgrsegsrhgrrghprdhorhhgnecuvehl uhhsthgvrhfuihiivgeptd X-ME-Proxy: <xmx:T_RQXOkr9CgxhJicH5wDX7VJA_oLJzizWsGm80sgrYo4vX6OugNBSQ> <xmx:T_RQXKzA6K3BZACChX4mV02mEJODeV8tB4VBLMdJp-WSb1IvTTxWaQ> <xmx:T_RQXIJuGdik9ExD-ZhlBvOfMT-HZtPW0KA36CPKqKds4plLY14V3Q> <xmx:T_RQXCG658L9nlzblg-aY4iqvX5nlK1fpbUJ-h-VzupwlSPmzxAeMw> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 5C2CDE4664; Tue, 29 Jan 2019 19:48:15 -0500 (EST) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Tue, 29 Jan 2019 19:47:09 -0500 Message-Id: <20190130004811.27372-12-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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 11/73] hppa: convert to helper_cpu_halted_set 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 |
per-CPU locks
|
expand
|
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index ce05d5619d..df9179e70f 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -2845,8 +2845,7 @@ static DisasJumpType trans_pause(DisasContext *ctx, uint32_t insn, /* Tell the qemu main loop to halt until this cpu has work. */ tmp = tcg_const_i32(1); - tcg_gen_st_i32(tmp, cpu_env, -offsetof(HPPACPU, env) + - offsetof(CPUState, halted)); + gen_helper_cpu_halted_set(cpu_env, tmp); tcg_temp_free_i32(tmp); gen_excp_1(EXCP_HALTED);