summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-02-09 22:11:38 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-06 15:46:18 +0100
commit1e6fbd637bbbfdd8ff13ed665b5294fab4771862 (patch)
treeafdfe38d752b717b10c073b6897911deac5301c2
parent0048035a870312f2fd0f3dd28115398d26e419bb (diff)
downloadfocaccia-qemu-1e6fbd637bbbfdd8ff13ed665b5294fab4771862.tar.gz
focaccia-qemu-1e6fbd637bbbfdd8ff13ed665b5294fab4771862.zip
target/sparc: Constify SPARCCPUClass::cpu_def
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250210133134.90879-3-philmd@linaro.org>
-rw-r--r--target/sparc/cpu.h2
1 files changed, 1 insertions, 1 deletions
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