summaryrefslogtreecommitdiffstats
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorRichard Henderson2021-09-15 17:13:38 +0200
committerRichard Henderson2021-11-02 12:00:52 +0100
commiteeca7dc566076d6130d986e17508372bc7916281 (patch)
tree970d5f9d8d36e988767c5e826590733b57435846 /linux-user/signal.c
parenttarget/xtensa: Make xtensa_cpu_tlb_fill sysemu only (diff)
downloadqemu-eeca7dc566076d6130d986e17508372bc7916281.tar.gz
qemu-eeca7dc566076d6130d986e17508372bc7916281.tar.xz
qemu-eeca7dc566076d6130d986e17508372bc7916281.zip
accel/tcg: Restrict TCGCPUOps::tlb_fill() to sysemu
We have replaced tlb_fill with record_sigsegv for user mode. Move the declaration to restrict it to system emulation. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r--linux-user/signal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 135983747d..9d60abc038 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -697,9 +697,6 @@ void cpu_loop_exit_sigsegv(CPUState *cpu, target_ulong addr,
if (tcg_ops->record_sigsegv) {
tcg_ops->record_sigsegv(cpu, addr, access_type, maperr, ra);
- } else if (tcg_ops->tlb_fill) {
- tcg_ops->tlb_fill(cpu, addr, 0, access_type, MMU_USER_IDX, false, ra);
- g_assert_not_reached();
}
force_sig_fault(TARGET_SIGSEGV,