From: Fam Zheng Date: Mon, 16 Mar 2015 09:03:34 +0000 (+0800) Subject: linux-user, bsd-user: Remove two calls to cpu_exec_init_all X-Git-Tag: v2.4.0-rc0~155^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02f4035c47b4d34cdc61780292ee288f400b9c49;p=thirdparty%2Fqemu.git 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 Message-Id: <1426496617-10702-3-git-send-email-famz@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/bsd-user/main.c b/bsd-user/main.c index 1bb27548f2b..5bfaf5c4217 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -905,7 +905,6 @@ int main(int argc, char **argv) #endif } tcg_exec_init(0); - cpu_exec_init_all(); /* NOTE: we need to init the CPU at this stage to get qemu_host_page_size */ cpu = cpu_init(cpu_model); diff --git a/linux-user/main.c b/linux-user/main.c index a8adb0404b1..3f32db0afd6 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3934,7 +3934,6 @@ int main(int argc, char **argv, char **envp) #endif } tcg_exec_init(0); - cpu_exec_init_all(); /* NOTE: we need to init the CPU at this stage to get qemu_host_page_size */ cpu = cpu_init(cpu_model);