summaryrefslogtreecommitdiffstats
path: root/target/sparc
diff options
context:
space:
mode:
authorEduardo Habkost2021-02-04 17:39:13 +0100
committerRichard Henderson2021-02-05 21:24:14 +0100
commit48c1a3e303b5a2cca48679645ad3fbb914db741a (patch)
tree7d8a9371e573832b5d5aeb9595f5d90df4174c59 /target/sparc
parentcpu: Move synchronize_from_tb() to tcg_ops (diff)
downloadqemu-48c1a3e303b5a2cca48679645ad3fbb914db741a.tar.gz
qemu-48c1a3e303b5a2cca48679645ad3fbb914db741a.tar.xz
qemu-48c1a3e303b5a2cca48679645ad3fbb914db741a.zip
cpu: Move cpu_exec_* to tcg_ops
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> [claudio: wrapped target code in CONFIG_TCG] Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210204163931.7358-6-cfontana@suse.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/sparc')
-rw-r--r--target/sparc/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c
index 0ae38eb496..139939494e 100644
--- a/target/sparc/cpu.c
+++ b/target/sparc/cpu.c
@@ -864,7 +864,7 @@ static void sparc_cpu_class_init(ObjectClass *oc, void *data)
cc->parse_features = sparc_cpu_parse_features;
cc->has_work = sparc_cpu_has_work;
cc->do_interrupt = sparc_cpu_do_interrupt;
- cc->cpu_exec_interrupt = sparc_cpu_exec_interrupt;
+ cc->tcg_ops.cpu_exec_interrupt = sparc_cpu_exec_interrupt;
cc->dump_state = sparc_cpu_dump_state;
#if !defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY)
cc->memory_rw_debug = sparc_cpu_memory_rw_debug;