]> Git Repo - qemu.git/commitdiff
linux-user, bsd-user: Remove two calls to cpu_exec_init_all
authorFam Zheng <[email protected]>
Mon, 16 Mar 2015 09:03:34 +0000 (17:03 +0800)
committerPaolo Bonzini <[email protected]>
Mon, 27 Apr 2015 16:24:17 +0000 (18:24 +0200)
The function is a nop for user mode, so just remove them.

Signed-off-by: Fam Zheng <[email protected]>
Message-Id: <1426496617[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
bsd-user/main.c
linux-user/main.c

index 1bb27548f2bea51b07a2f21e4669a9e655398ea5..5bfaf5c4217f62d4657b2a6c6289c5dfef555353 100644 (file)
@@ -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);
index a8adb0404b185176f8e468610738b090d0770630..3f32db0afd6b4316725f4a54c76a687cde226303 100644 (file)
@@ -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);
This page took 0.037512 seconds and 4 git commands to generate.