]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/loongarch: Constify loongarch_tcg_ops
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 28 Jan 2024 02:47:52 +0000 (12:47 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 29 Jan 2024 11:04:10 +0000 (21:04 +1000)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/cpu.c

index dd3e46a7263999d1bad9e6e0fff68165aea82543..fb8dde7def11dc9d514fcd3482d48954739d1b8a 100644 (file)
@@ -734,7 +734,7 @@ void loongarch_cpu_dump_state(CPUState *cs, FILE *f, int flags)
 #ifdef CONFIG_TCG
 #include "hw/core/tcg-cpu-ops.h"
 
-static TCGCPUOps loongarch_tcg_ops = {
+static const TCGCPUOps loongarch_tcg_ops = {
     .initialize = loongarch_translate_init,
     .synchronize_from_tb = loongarch_cpu_synchronize_from_tb,
     .restore_state_to_opc = loongarch_restore_state_to_opc,