tcg: fix x86 compilation with !CONFIG_TCG
PATCH 1/1 tcg: fix x86 compilation with !CONFIG_TCG
This commit:
commit 55c3ceef61fcf06fc98ddc752b7cce788ce7680b
Author: Richard Henderson <[email protected]> Date: Sun Oct 15 19:02:42 2017 -0700
qom: Introduce CPUClass.tcg_initialize
Brocke compilation without CONFIG_TCG
Signed-off-by Juan Quintela <[email protected]>
CC Richard Henderson <[email protected]>
--- target/i386/cpu.c | 2 ++ 1 file changed, 2 insertions(+)
target/i386/cpu.c +2 -0
@@ -4212,7 +4212,9 @@ static void x86_cpu_common_class_init(ObjectClass *oc, void *data)#endif cc->cpu_exec_enter = x86_cpu_exec_enter; cc->cpu_exec_exit = x86_cpu_exec_exit; +#ifdef CONFIG_TCG cc->tcg_initialize = tcg_x86_init; +#endif dc->user_creatable = true; }
Signature · 1 line
2.13.6
Quoted 8 lines · Juan Quintela
This commit:
commit
55c3ceef61fcf06fc98ddc752b7cce788ce7680bAuthor: Richard Henderson <[email protected]> Date: Sun Oct 15 19:02:42 2017 -0700qom: Introduce CPUClass.tcg_initialize
Quoted 7 lines
Brocke compilation without
CONFIG_TCGSigned-off-by Juan Quintela <[email protected]>CC Richard Henderson <[email protected]>--- target/i386/cpu.c | 2 ++ 1 file changed, 2 insertions(+)
Oops. I'm sure the other --disable-tcg hosts are affected as well. But as far as it goes,
Reviewed-by Richard Henderson <[email protected]>
r~