summaryrefslogtreecommitdiffstats
path: root/target/alpha/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson2019-04-02 09:51:11 +0200
committerRichard Henderson2019-05-10 16:57:39 +0200
commite41c94529740cc26ac6d6eea4bb8b6f77466f5e4 (patch)
tree9b4fe0d3ffaa1f9dcb5056dea9aed40cc64aa1cd /target/alpha/cpu.c
parenttcg: Add CPUClass::tlb_fill (diff)
downloadqemu-e41c94529740cc26ac6d6eea4bb8b6f77466f5e4.tar.gz
qemu-e41c94529740cc26ac6d6eea4bb8b6f77466f5e4.tar.xz
qemu-e41c94529740cc26ac6d6eea4bb8b6f77466f5e4.zip
target/alpha: Convert to CPUClass::tlb_fill
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/alpha/cpu.c')
-rw-r--r--target/alpha/cpu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c
index ad3588a44a..7c81be4111 100644
--- a/target/alpha/cpu.c
+++ b/target/alpha/cpu.c
@@ -225,9 +225,8 @@ static void alpha_cpu_class_init(ObjectClass *oc, void *data)
cc->set_pc = alpha_cpu_set_pc;
cc->gdb_read_register = alpha_cpu_gdb_read_register;
cc->gdb_write_register = alpha_cpu_gdb_write_register;
-#ifdef CONFIG_USER_ONLY
- cc->handle_mmu_fault = alpha_cpu_handle_mmu_fault;
-#else
+ cc->tlb_fill = alpha_cpu_tlb_fill;
+#ifndef CONFIG_USER_ONLY
cc->do_transaction_failed = alpha_cpu_do_transaction_failed;
cc->do_unaligned_access = alpha_cpu_do_unaligned_access;
cc->get_phys_page_debug = alpha_cpu_get_phys_page_debug;