]> Git Repo - qemu.git/commitdiff
target/riscv: remove CONFIG_TCG, as it is always TCG
authorClaudio Fontana <[email protected]>
Thu, 4 Feb 2021 16:39:10 +0000 (17:39 +0100)
committerRichard Henderson <[email protected]>
Fri, 5 Feb 2021 20:24:14 +0000 (10:24 -1000)
for now only TCG is allowed as an accelerator for riscv,
so remove the CONFIG_TCG use.

Signed-off-by: Claudio Fontana <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Message-Id: <20210204163931[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target/riscv/cpu.c

index 567f6790a97600cb7968b274fcfe8f982123f72d..60d0b4315340d98191fa5127026fa321c9daff6f 100644 (file)
@@ -617,10 +617,9 @@ static void riscv_cpu_class_init(ObjectClass *c, void *data)
 #endif
     cc->gdb_arch_name = riscv_gdb_arch_name;
     cc->gdb_get_dynamic_xml = riscv_gdb_get_dynamic_xml;
-#ifdef CONFIG_TCG
     cc->tcg_ops.initialize = riscv_translate_init;
     cc->tlb_fill = riscv_cpu_tlb_fill;
-#endif
+
     device_class_set_props(dc, riscv_cpu_properties);
 }
 
This page took 0.023759 seconds and 4 git commands to generate.