From patchwork Wed May 7 21:12:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 888098 Delivered-To: patch@linaro.org Received: by 2002:a5d:4683:0:b0:38f:210b:807b with SMTP id u3csp586811wrq; Wed, 7 May 2025 14:14:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW5gDnxePbSqvjDFq9i8+WNQy2VTPyQh/fWXlofEKAxfs7SfoGk2GpFvx1+SkLlTiObS2mXZw==@linaro.org X-Google-Smtp-Source: AGHT+IEh2rL2x3CbJr0hKZuQEwApY7hcGBuWksCVFAytuXclCchPZbseuH5zJYEIZPPpKxGWTl8K X-Received: by 2002:a05:620a:1a82:b0:7cc:f77:a508 with SMTP id af79cd13be357-7ccf9988c7bmr163482885a.21.1746652461404; Wed, 07 May 2025 14:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746652461; cv=none; d=google.com; s=arc-20240605; b=PHQsW7WoIeYEAZPKYWSHibAJ0EQiUJA3uUzOKA6ZyV0nPP+evOM2pdYoYl6CbgHyIH uS1pw0DK2Ff8WaEDBp/hs0TFeU5b4c6SIIgaryCXBV1l5HhWcn2xIxXlJ8vjUHw1Y5K/ /lUaWU5xnWwfD4RvUnnAemV9DBdLTc6Ny2QCbkkp6v+5nNanyk0duOgHeZ62i+Ery8z1 y7DEs5B+t4mU5NHUwgxntqsck3uYLQ0TP7jbDSCBHFD+ij5W4NtyU5sCufVDtiza9GNc M73GKB62/PZLiM7AmT20yazwbknfKR2nawdzJDlxUCRJbbBrD4shtIOzpO0CYfZlbpAg GGeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=9qH2OoJWwqiQyZOMZJFsx9bUBclHaoHUtvvMOgxzsEc=; fh=oTVbKRIO4+2hI+bP68B7Af9cjxdBfd9rIDcM9SyAXs8=; b=WTMBncOL/b/+iiNMkXLuSnSHBKeamXHGIPiPUi0mVwDd9MLcttb4Veqt7R7E+5dgl7 Y1Dcrino7rHyD+r+7HF7AaxIwZcvN2vhfoXRdRc3WhX423LwLHStgsY+xB8nmCWsPnYm Qlzw65xQV1r+fu1VGD7mplSFRhrlEdjlIEJWFkXUoiPySvdbbwptYBrdXUVRZO9nI2ly 20+OpNeCz7/RC986/R9MlHPOWDPwR7slp+QzTXDBzJXE0gfQklSSLgndw9J8OARiK8F9 ysYxuHTG+Lt4/7ijJOuMMhPuhugL7GBlwJSyk0uH3MZNd759380jkgWsSJWQEZIxNk7s 87cQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XJB4P5bt; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7caf75943aesi274148485a.316.2025.05.07.14.14.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 May 2025 14:14:21 -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=XJB4P5bt; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uCm5H-0006GV-Sw; Wed, 07 May 2025 17:13:43 -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 ) id 1uCm4z-0006DG-FT for qemu-devel@nongnu.org; Wed, 07 May 2025 17:13:27 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uCm4x-0006Fw-8L for qemu-devel@nongnu.org; Wed, 07 May 2025 17:13:25 -0400 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-7399838db7fso400701b3a.0 for ; Wed, 07 May 2025 14:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746652402; x=1747257202; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9qH2OoJWwqiQyZOMZJFsx9bUBclHaoHUtvvMOgxzsEc=; b=XJB4P5btO62BTqI9teJrJ/6lr9oku+5EQW9Dpsqa+vuzflJyBA3PG/+EdxVagqxiT9 LMDi7XAkv2k+YVTQFAkTp5j/WYAGBusoz303HuhG6QtplD+xy0E32oTk+vLNGK3J24tm yE/blxgTTjHUzL82sCw6Z3Z/TpahOSVD2Ygye8f/4Nf01qk1Awfi2/gOXtuS8A3dB7YN XsfNL8+F7cn3cC7R/N2GhxrDUEgs1QVu3BlD+f+nO+E5ryf/GOLGrB/D+Ya23KeosLVZ /19XP7OCoDYSPWgdsohkMO+BrWKEodD+eLIE6n8gqauhPUR2Xpd+9lVoIOws/PpbjMzK xwAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746652402; x=1747257202; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9qH2OoJWwqiQyZOMZJFsx9bUBclHaoHUtvvMOgxzsEc=; b=ZvtY2A3JJyRqkd+aRa7PEeLv2eIyZy+Yzgk9w1hJVwiDuNufQNrioeZ9ZyEMWTHXba TP52BhfbPwBBhB2f8usuDHRMA8gFcXNfLR+cZWNXjcNs0R6/JviVwUCNjDovafFYIvpv waHPhu4QBkbNkJkmdgtlr29OEj9XVrfi7unOMU7ZHfGE05zRAY5cNTa6AV12rdK5wRiT 6x+Bj7vQYAjCHfWNcU7tOfzj7bQksaGUlAVA49M++tyYW1AsiDgO5l6Pqg8Y92SbkO0j TerJAyn3dSRLmWiaKGpvPQdXFW9kXCq4FjO7TAxs7IXtWzAk8E4eAjFyWAm/0My6SdBL LnFA== X-Gm-Message-State: AOJu0YzswMp/wevYbqJ+7maYlM+OsJJKp2o2lfO3xhzjhtwAIPHjAMo+ LtVZsxrwkwLUUPk1sf2bnnv5b8trxDyDBV5wp6t1vItdd9Dg8KE1Gho/hiLMzJS1IK9frki6cae C X-Gm-Gg: ASbGncuZNX2wblaRiTOHqVtSdVfFCKvWvrayCLOFlA9QmEzaxSkkLRewhzA57qBA2AK kkztlDVxmEcZRXKj1kIE7KRBAqc5gMVzOJnVuqDYr6arFdGXC7r/79aJ63Qx4rpwcx0+FT2mXfz LHI941AtEODMjY/wv7KKet5rs7XjrcQvP+009WA+qY0r8beAHlumwvmXqFvTqC8PONICw3c49oj thXq7Rvbks6yqd7JMTmmm5ZZDJt500NyUdz3CXvz1Xe92Lf9wXkdprR9LdRAZ9Gp75nEchFDC0b lbtVEYSP069cVgerct7ZpoLTLsd+4hFg3SrCP8u5olBts+s8LNiMblUZpIM7/xqzdeLXMMoWXHw = X-Received: by 2002:a05:6a00:35cc:b0:736:b3cb:5db with SMTP id d2e1a72fcca58-740a94f8e34mr1559406b3a.11.1746652401882; Wed, 07 May 2025 14:13:21 -0700 (PDT) Received: from stoup.. (71-212-47-143.tukw.qwest.net. [71.212.47.143]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7405902154dsm12255251b3a.90.2025.05.07.14.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 May 2025 14:13:21 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: laurent@vivier.eu, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v5 23/24] target/m68k: Make vmstate variables static Date: Wed, 7 May 2025 14:12:58 -0700 Message-ID: <20250507211300.9735-24-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250507211300.9735-1-richard.henderson@linaro.org> References: <20250507211300.9735-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x435.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org These need not be exported beyond cpu.c. Fix a typo in vmstate_fpu. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- target/m68k/cpu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c index 866d32fc9f..fe53572542 100644 --- a/target/m68k/cpu.c +++ b/target/m68k/cpu.c @@ -478,7 +478,7 @@ static int fpu_post_load(void *opaque, int version) return 0; } -const VMStateDescription vmmstate_fpu = { +static const VMStateDescription vmstate_fpu = { .name = "cpu/fpu", .version_id = 1, .minimum_version_id = 1, @@ -500,7 +500,7 @@ static bool cf_spregs_needed(void *opaque) return m68k_feature(&s->env, M68K_FEATURE_CF_ISA_A); } -const VMStateDescription vmstate_cf_spregs = { +static const VMStateDescription vmstate_cf_spregs = { .name = "cpu/cf_spregs", .version_id = 1, .minimum_version_id = 1, @@ -522,7 +522,7 @@ static bool cpu_68040_mmu_needed(void *opaque) return m68k_feature(&s->env, M68K_FEATURE_M68040); } -const VMStateDescription vmstate_68040_mmu = { +static const VMStateDescription vmstate_68040_mmu = { .name = "cpu/68040_mmu", .version_id = 1, .minimum_version_id = 1, @@ -547,7 +547,7 @@ static bool cpu_68040_spregs_needed(void *opaque) return m68k_feature(&s->env, M68K_FEATURE_M68040); } -const VMStateDescription vmstate_68040_spregs = { +static const VMStateDescription vmstate_68040_spregs = { .name = "cpu/68040_spregs", .version_id = 1, .minimum_version_id = 1, @@ -583,7 +583,7 @@ static const VMStateDescription vmstate_m68k_cpu = { VMSTATE_END_OF_LIST() }, .subsections = (const VMStateDescription * const []) { - &vmmstate_fpu, + &vmstate_fpu, &vmstate_cf_spregs, &vmstate_68040_mmu, &vmstate_68040_spregs,