summaryrefslogtreecommitdiffstats
path: root/target/rx/cpu.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-09-11 18:54:31 +0200
committerRichard Henderson2021-09-14 21:00:21 +0200
commit65c575b61e000ef862f899643ed0a818794881b9 (patch)
treeebe3742f6ead1f511a90d022b796d69a510de339 /target/rx/cpu.c
parenttarget/sparc: Restrict cpu_exec_interrupt() handler to sysemu (diff)
downloadqemu-65c575b61e000ef862f899643ed0a818794881b9.tar.gz
qemu-65c575b61e000ef862f899643ed0a818794881b9.tar.xz
qemu-65c575b61e000ef862f899643ed0a818794881b9.zip
target/rx: Restrict cpu_exec_interrupt() handler to sysemu
Restrict cpu_exec_interrupt() and its callees to sysemu. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210911165434.531552-22-f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/rx/cpu.c')
-rw-r--r--target/rx/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/rx/cpu.c b/target/rx/cpu.c
index 96cc96e514..25a4aa2976 100644
--- a/target/rx/cpu.c
+++ b/target/rx/cpu.c
@@ -186,10 +186,10 @@ static const struct SysemuCPUOps rx_sysemu_ops = {
static const struct TCGCPUOps rx_tcg_ops = {
.initialize = rx_translate_init,
.synchronize_from_tb = rx_cpu_synchronize_from_tb,
- .cpu_exec_interrupt = rx_cpu_exec_interrupt,
.tlb_fill = rx_cpu_tlb_fill,
#ifndef CONFIG_USER_ONLY
+ .cpu_exec_interrupt = rx_cpu_exec_interrupt,
.do_interrupt = rx_cpu_do_interrupt,
#endif /* !CONFIG_USER_ONLY */
};