target/loongarch: Constify loongarch_tcg_ops
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
1764ad70ce
commit
2889fb8bd2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user