From nobody Tue Feb 10 11:32:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.41 as permitted sender) client-ip=209.85.221.41; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f41.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.41 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1632174413; cv=none; d=zohomail.com; s=zohoarc; b=fNRsqtp1c6sALPXvuh1qiMlRcp8K9Qd0ffIDff9KISsm7FDFuSJDVJBF9iu6GpYkWgubM5eR6hKVHHAPHW4eNn6ZBK5EKtEcTGwuNqJkCI0Mh3CMspdIhkhmvzh4i5hq3SqnLRBllFOL/GJsuSu2WXLsvRqU140x4UZNMl711Ng= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632174413; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ng68G2SUo/Wom1Lm26r0e0XZx7BrOhoYuLk/QBnpHvs=; b=RYKDYjhabvZm6zwKrcr+pB/SgNP20XF3CeLjTdCww9p3lXA/j4NLCqyIsghm2xzCHJlJYG+81T196Zsm8zwCErMZLbuE8ZZXAOcjYyJ4H/ToXWfOtmECbJRumbGJOHvF85ddrBsUf4nx0IQ2MsWrooasbj9p7CtPws0XIVdXp7k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.41 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mx.zohomail.com with SMTPS id 1632174413863876.0230184505234; Mon, 20 Sep 2021 14:46:53 -0700 (PDT) Received: by mail-wr1-f41.google.com with SMTP id i23so33601965wrb.2 for ; Mon, 20 Sep 2021 14:46:53 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id f19sm706102wmf.11.2021.09.20.14.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 14:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ng68G2SUo/Wom1Lm26r0e0XZx7BrOhoYuLk/QBnpHvs=; b=kevIubyPGcrs5Ak8lDXLPOYv4bwO0r/sFPqrxkO0FB7xO6HfDQcotW5BFShwPheN9T xYmBSCY+vBy67CkfzkqaTFCdEXKjqmtwSvbgMCAfuTaUkKjw24ccMFUsZlR+axlN91Da lSg2bS/8hD8lQTFc9ITdzfSdtrg/1CJz5vvWzYqwSejNm4qwm+V0DpyM+ufwAokzh+r0 X+6ofhJriKGyXum/M2HsIEuyGWnBbial0jE2byFZrYCkQJrqNlAE1IrQeeFumC+xT6uZ OxrApjopFD7UpPcHnmAp8rpLXxjPis+caNxQtM+UNzq8VsciST58SG1zef5ujP1+FZd9 DLwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ng68G2SUo/Wom1Lm26r0e0XZx7BrOhoYuLk/QBnpHvs=; b=RlLqqD7S5b2xWLqiJh/OXViLXuSUPmBMufmBuy2nC6OF2wabLXETA4mgpwbNxT1bjR b5fmBttuY/7+3wbZXz4j1OpjcuoAVJkgTZB4HYMmYYCPab9ZGMi4VmxmQCBfvGQVBkaY f+4W/o1TvysjUtE4h3qvSTxQYY4euzpjWboSW7rS/mJs+dlpGpbHCnpIn7+IpkrtBetl 00WZQLBFbFHRePLvAoveNpPlmHuvz81ru0Yat/YWwD9m4N7Mzfw6fVqY942Ht0MYj305 76aostQHHrFkV3rPNu9qlSudjuBcVo7T+6CvfEI55Jo6npKSeJ93T6lAVaN7rOW31+Zn wmSw== X-Gm-Message-State: AOAM532XcoalhJwYwUkWWrnO8sPKUPtLHtXeolmyf7j9UKqlK9lcMJYQ zmNRf9+zEh85R89YJb8Tvn5uCSQxe5M= X-Google-Smtp-Source: ABdhPJw9WCwjDAdBMimjv3YzkuWzJBSedyx2xh3ptMzY65sc4hAlEQOw6NwoDJoA+UXD3z7PuG9wCw== X-Received: by 2002:a05:600c:2301:: with SMTP id 1mr1183501wmo.138.1632174412095; Mon, 20 Sep 2021 14:46:52 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v5 27/31] target/sparc: Remove pointless use of CONFIG_TCG definition Date: Mon, 20 Sep 2021 23:44:43 +0200 Message-Id: <20210920214447.2998623-28-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210920214447.2998623-1-f4bug@amsat.org> References: <20210920214447.2998623-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1632174416172100001 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 Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/sparc/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index 5a8a4ce7506..e83e305aa9d 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -859,7 +859,6 @@ static const struct SysemuCPUOps sparc_sysemu_ops =3D { }; #endif =20 -#ifdef CONFIG_TCG #include "hw/core/tcg-cpu-ops.h" =20 static const struct TCGCPUOps sparc_tcg_ops =3D { @@ -874,7 +873,6 @@ static const struct TCGCPUOps sparc_tcg_ops =3D { .do_unaligned_access =3D sparc_cpu_do_unaligned_access, #endif /* !CONFIG_USER_ONLY */ }; -#endif /* CONFIG_TCG */ =20 static void sparc_cpu_class_init(ObjectClass *oc, void *data) { --=20 2.31.1