diff options
author | Richard Henderson | 2022-04-21 17:16:41 +0200 |
---|---|---|
committer | Richard Henderson | 2022-04-26 17:16:40 +0200 |
commit | fb4de9d2357bc42048a3ed3fcd15d8036e4c94a7 (patch) | |
tree | 5c4770fcf2c15d4c5bb5a6a2cf5f48d8689ffa5e /target/nios2/cpu.c | |
parent | target/nios2: Remove user-only nios2_cpu_do_interrupt (diff) | |
download | qemu-fb4de9d2357bc42048a3ed3fcd15d8036e4c94a7.tar.gz qemu-fb4de9d2357bc42048a3ed3fcd15d8036e4c94a7.tar.xz qemu-fb4de9d2357bc42048a3ed3fcd15d8036e4c94a7.zip |
target/nios2: Remove nios2_cpu_record_sigsegv
Since f5ef0e518d0, we have a real page mapped for kuser,
which means the special casing for SIGSEGV can go away.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220421151735.31996-11-richard.henderson@linaro.org>
Diffstat (limited to 'target/nios2/cpu.c')
-rw-r--r-- | target/nios2/cpu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/nios2/cpu.c b/target/nios2/cpu.c index b0877cb39e..9774a3b8a4 100644 --- a/target/nios2/cpu.c +++ b/target/nios2/cpu.c @@ -210,9 +210,7 @@ static const struct SysemuCPUOps nios2_sysemu_ops = { static const struct TCGCPUOps nios2_tcg_ops = { .initialize = nios2_tcg_init, -#ifdef CONFIG_USER_ONLY - .record_sigsegv = nios2_cpu_record_sigsegv, -#else +#ifndef CONFIG_USER_ONLY .tlb_fill = nios2_cpu_tlb_fill, .cpu_exec_interrupt = nios2_cpu_exec_interrupt, .do_interrupt = nios2_cpu_do_interrupt, |