From 02f4035c47b4d34cdc61780292ee288f400b9c49 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Mon, 16 Mar 2015 17:03:34 +0800 Subject: [PATCH] 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 --- bsd-user/main.c | 1 - linux-user/main.c | 1 - 2 files changed, 2 deletions(-) diff --git a/bsd-user/main.c b/bsd-user/main.c index 1bb27548f2..5bfaf5c421 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 a8adb0404b..3f32db0afd 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);