mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
tcg: Avoid setting tcg_initialize if !CONFIG_TCG
Fix the build for --disable-tcg.
Fixes: 55c3ceef61
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 20171026135814.20773-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
325a084c1e
commit
74d7fc7f63
5 changed files with 10 additions and 0 deletions
|
@ -198,7 +198,9 @@ static void mips_cpu_class_init(ObjectClass *c, void *data)
|
|||
cc->vmsd = &vmstate_mips_cpu;
|
||||
#endif
|
||||
cc->disas_set_info = mips_cpu_disas_set_info;
|
||||
#ifdef CONFIG_TCG
|
||||
cc->tcg_initialize = mips_tcg_init;
|
||||
#endif
|
||||
|
||||
cc->gdb_num_core_regs = 73;
|
||||
cc->gdb_stop_before_watchpoint = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue