linux-user, bsd-user: Remove two calls to cpu_exec_init_all
The function is a nop for user mode, so just remove them. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1426496617-10702-3-git-send-email-famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c2cba0ffe4
commit
02f4035c47
|
@ -905,7 +905,6 @@ int main(int argc, char **argv)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
tcg_exec_init(0);
|
tcg_exec_init(0);
|
||||||
cpu_exec_init_all();
|
|
||||||
/* NOTE: we need to init the CPU at this stage to get
|
/* NOTE: we need to init the CPU at this stage to get
|
||||||
qemu_host_page_size */
|
qemu_host_page_size */
|
||||||
cpu = cpu_init(cpu_model);
|
cpu = cpu_init(cpu_model);
|
||||||
|
|
|
@ -3934,7 +3934,6 @@ int main(int argc, char **argv, char **envp)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
tcg_exec_init(0);
|
tcg_exec_init(0);
|
||||||
cpu_exec_init_all();
|
|
||||||
/* NOTE: we need to init the CPU at this stage to get
|
/* NOTE: we need to init the CPU at this stage to get
|
||||||
qemu_host_page_size */
|
qemu_host_page_size */
|
||||||
cpu = cpu_init(cpu_model);
|
cpu = cpu_init(cpu_model);
|
||||||
|
|
Loading…
Reference in a new issue