Message ID | 20241029085934.2799066-14-zhao1.liu@intel.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=N6aaS6Ws; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xd3jY4P72z1xwF for <incoming@patchwork.ozlabs.org>; Tue, 29 Oct 2024 19:45:05 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1t5hpW-000350-NX; Tue, 29 Oct 2024 04:43:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <zhao1.liu@intel.com>) id 1t5hpV-00034n-Dn for qemu-devel@nongnu.org; Tue, 29 Oct 2024 04:43:57 -0400 Received: from mgamail.intel.com ([198.175.65.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <zhao1.liu@intel.com>) id 1t5hpT-00084o-Jb for qemu-devel@nongnu.org; Tue, 29 Oct 2024 04:43:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730191436; x=1761727436; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Q27tShPjg+XTXhgkfZZQgStLn96wPei7nUviWn4ZH2w=; b=N6aaS6WsjhDxm2DZhel4Io0tH4KAZPLG56Gd7zh5atrkkT9kq9mBRjgI 13JapUkU50vZpWicW4rK/t5ueZDPZtnSJhPknpMPy31mrvaGYWzdqAqVZ Dx+7i7WbjuyT/berrfxDIqdhaHgqvkGfo8J5NVyOIYnWNNRuQBcZmMkax 32MtUzyS83mN0M/BkHr5fYvAonYCi7FLM4SsPSpQ7lXQ3u0gcyMQ/VM8k GLIyy+/hIKZKIrUkFvaV1i1q1skO7ojSqM/sK4YSbcTdAlLulXqCyToXI +wmFGPPe3G0Ld23kxy07wJ7ItITNWEPSgoOqZZq4bv0Z1YoKXlvC4GZaj Q==; X-CSE-ConnectionGUID: gKiG8XX3Rd61jTzAfCnTww== X-CSE-MsgGUID: buHepiFgQ56msxAQyAO+aw== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="29592829" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="29592829" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2024 01:43:44 -0700 X-CSE-ConnectionGUID: RTtDknDSTvKXLxPiR5fi5Q== X-CSE-MsgGUID: My0Y86LpQ3ChBSJcYNJZQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,241,1725346800"; d="scan'208";a="85847224" Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmviesa003.fm.intel.com with ESMTP; 29 Oct 2024 01:43:42 -0700 From: Zhao Liu <zhao1.liu@intel.com> To: Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?q?Daniel_P_=2E_Berrang?= =?utf-8?q?=C3=A9?= <berrange@redhat.com>, Eduardo Habkost <eduardo@habkost.net> Cc: qemu-devel@nongnu.org, Zhao Liu <zhao1.liu@intel.com> Subject: [PATCH 13/16] target/xtensa: Replace type_register() with type_register_static() Date: Tue, 29 Oct 2024 16:59:31 +0800 Message-Id: <20241029085934.2799066-14-zhao1.liu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241029085934.2799066-1-zhao1.liu@intel.com> References: <20241029085934.2799066-1-zhao1.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.175.65.20; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.373, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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.29 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: <https://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> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
Series |
qom/object: Deprecate type_register()
|
expand
|
diff --git a/target/xtensa/helper.c b/target/xtensa/helper.c index ca214b948a96..2978c471c1fc 100644 --- a/target/xtensa/helper.c +++ b/target/xtensa/helper.c @@ -198,7 +198,7 @@ void xtensa_register_core(XtensaConfigList *node) node->next = xtensa_cores; xtensa_cores = node; type.name = g_strdup_printf(XTENSA_CPU_TYPE_NAME("%s"), node->config->name); - type_register(&type); + type_register_static(&type); g_free((gpointer)type.name); }
Replace type_register() with type_register_static() because type_register() will be deprecated. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> --- target/xtensa/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)