diff options
author | Fam Zheng <famz@redhat.com> | 2015-03-16 17:03:34 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-27 18:24:17 +0200 |
commit | 02f4035c47b4d34cdc61780292ee288f400b9c49 (patch) | |
tree | d9de1707cdf90239b3c2218f1b37ef0a0e098a6f /linux-user/main.c | |
parent | c2cba0ffe495b60c4cc58080281e99c7a6580d4b (diff) |
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>
Diffstat (limited to 'linux-user/main.c')
-rw-r--r-- | linux-user/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |