Browse Source

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>
pull/23/head
Fam Zheng 12 years ago
committed by Paolo Bonzini
parent
commit
02f4035c47
  1. 1
      bsd-user/main.c
  2. 1
      linux-user/main.c

1
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);

1
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);

Loading…
Cancel
Save