From: Philippe Mathieu-Daudé Date: Sun, 9 Feb 2025 21:11:38 +0000 (+0100) Subject: target/sparc: Constify SPARCCPUClass::cpu_def X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1e6fbd637bbbfdd8ff13ed665b5294fab4771862;p=qemu.git target/sparc: Constify SPARCCPUClass::cpu_def Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20250210133134.90879-3-philmd@linaro.org> --- diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h index dda811503b..462bcb6c0e 100644 --- a/target/sparc/cpu.h +++ b/target/sparc/cpu.h @@ -574,7 +574,7 @@ struct SPARCCPUClass { DeviceRealize parent_realize; ResettablePhases parent_phases; - sparc_def_t *cpu_def; + const sparc_def_t *cpu_def; }; #ifndef CONFIG_USER_ONLY