From patchwork Thu Sep 16 15:30:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 512978 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1354929jao; Thu, 16 Sep 2021 09:08:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwikVLTlop6Wtjbat3HoO261teBi3uL4Tx7NLYiuGGn3/2lYlyemks9q5y745qdC0RDmc3i X-Received: by 2002:a05:6512:23a5:: with SMTP id c37mr4656778lfv.321.1631808519242; Thu, 16 Sep 2021 09:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631808519; cv=none; d=google.com; s=arc-20160816; b=cDCLNYlOAPgyw0TvV8+82u1Nf5Wm1hpvEufgj51jAO9dYRhjHziIffetixog+uIMCt yijOAysStDEyVLR9knz5e1Bd41zYrABiK4hbB7L8CkbZL8/x0r3xmAFzCTvwGDB/+6RD mENMBtTgZHyUIvcZ7WKxm9JfL9sr3ZF6F8eKPyVot4ML3vlSGspdQTqooDLNo+20THB1 hZhuOE90zN6AfEXJwAYHKCw4b7Vl5AZIWawtxJxYRxQ3an0cJvsp3wBnV5ArFmSKVbcj IsSdx0dQjbuQshPdlkYERRsYvcpJDx2eRj3s7AGcpcgTPMzO9gi4SK5OD1HDL9FaG4ys tUMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=fsDKJ9HWSGf+3RAOS+lcZoApkaAa44EIIs8LfeqvPUs=; b=dzfu02oLzqeebn30DzMLXTL7JOe/TnwZmN00gC3wMdGEYj7DnyhSRlcdzVLFOjUI5c icW2EqC42QzIAcaSYvZUIN269G0yMY00tk0Tc1H6ELzew3igjmzTokkRKB8ZeNVLzjz8 m+1Wep7PSm0YPqNwCxEJsF8TyDjqV77BMg9MICw1uZODHTQZ6h1aW1dTrvulOQyHVSt3 1gVMkEKWjTTsuSNUonuuBfARbzCDQds4d6BzyhiXCRZocqyeIo+AuFp931GVnp9fX8f+ ZjeQfFpUZh1DtNRSXl6NSXdmMyH61JAjx3BdE98wZPDjkdPwR7wAUdFOXrGp8lcRbOXF QS6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A8o4gkh2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y23si4187776lfa.606.2021.09.16.09.08.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Sep 2021 09:08:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A8o4gkh2; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:41512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQtwE-0005wC-0s for patch@linaro.org; Thu, 16 Sep 2021 12:08:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQtLm-0001gc-Qf for qemu-devel@nongnu.org; Thu, 16 Sep 2021 11:30:58 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:45728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQtLd-0002bV-20 for qemu-devel@nongnu.org; Thu, 16 Sep 2021 11:30:57 -0400 Received: by mail-pf1-x432.google.com with SMTP id w19so6172939pfn.12 for ; Thu, 16 Sep 2021 08:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fsDKJ9HWSGf+3RAOS+lcZoApkaAa44EIIs8LfeqvPUs=; b=A8o4gkh2HlKqrSiW9/NotWlTZKXNfwGEI+zBRtuRJv8c8BPR48zj+Dc/hAvUQGIkyn 9LTIyrVmqZLR+W+g4uIY5CZvhU0ocWaLFl8Yis6/gHbGcqMa9yvtzW9DaoORyO5QU67U b1mSCHcrM7hiJl3QV+7EDSqxwuYH5/30xmERHzC5tcMCBJRIELF9hNo2CPQC9qEiFpaR W4+6H3WMdmnpivzx9LFm6jDWq0KoGrmqiPQoKVV71vasKzzWwsqsxQLgIqvAcMZY6kaG OT4FQGWxmhljC7TaOoQceQPVqqKhJKzQbdQbt33GcBMePUxpM98KCKAAGnrUOnhHK4UV SFNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fsDKJ9HWSGf+3RAOS+lcZoApkaAa44EIIs8LfeqvPUs=; b=0ccMB2h7y51niW+n1qyRFxxZ0EOm1//8bPW9/9ToU3j7zG8vtrMLiWk6Zmw1EzZIxT BV4b7Ai1Pgsc2F33NDsrVz6gCqm7oMKhK3cSIVx03pn3V7UgDhrpfNOA7tBfM67b7bQN 05AFMEd4v/Zuu/tb7puaYsk4l2mnp83ZZvgmoPq5H3IsXq0u47w7ag8eTZVz1sPYQ1V1 zRmTGbQbTRuyg0QDONXGj1WzIIGhajjcREudFhQkFtNxkPqWYCmjcI7nMeujNdAQ+zhp Bd3bu7onlBFwwF69ayVN+mr/wFnCX5nhG8t0UStElDLvhLaitaJfU9yopx8FfZpOc5gj PWCA== X-Gm-Message-State: AOAM530ZAVMqz6qb8/o1LVdvegYAtTO8Yg6Y8hDwLMrRNAJMUgTRbEO4 KGTfQUm9hXh77QdcoO1bFDxzcPn5Nn7Q4g== X-Received: by 2002:a62:1e42:0:b0:442:2a4b:e0e1 with SMTP id e63-20020a621e42000000b004422a4be0e1mr3135843pfe.19.1631806244993; Thu, 16 Sep 2021 08:30:44 -0700 (PDT) Received: from localhost.localdomain ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id b7sm3779447pgs.64.2021.09.16.08.30.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 08:30:44 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 27/35] target/sparc: Remove pointless use of CONFIG_TCG definition Date: Thu, 16 Sep 2021 08:30:17 -0700 Message-Id: <20210916153025.1944763-28-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210916153025.1944763-1-richard.henderson@linaro.org> References: <20210916153025.1944763-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé The SPARC target only support TCG acceleration. Remove the CONFIG_TCG definition introduced by mistake in commit 78271684719 ("cpu: tcg_ops: move to tcg-cpu-ops.h, keep a pointer in CPUClass"). Reported-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20210912172731.789788-27-f4bug@amsat.org> Signed-off-by: Richard Henderson --- target/sparc/cpu.c | 2 -- 1 file changed, 2 deletions(-) -- 2.25.1 diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index 5a8a4ce750..e83e305aa9 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -859,7 +859,6 @@ static const struct SysemuCPUOps sparc_sysemu_ops = { }; #endif -#ifdef CONFIG_TCG #include "hw/core/tcg-cpu-ops.h" static const struct TCGCPUOps sparc_tcg_ops = { @@ -874,7 +873,6 @@ static const struct TCGCPUOps sparc_tcg_ops = { .do_unaligned_access = sparc_cpu_do_unaligned_access, #endif /* !CONFIG_USER_ONLY */ }; -#endif /* CONFIG_TCG */ static void sparc_cpu_class_init(ObjectClass *oc, void *data) {