On 2/4/22 06:18, Philippe Mathieu-Daudé wrote:
module_allow_arch() is the single target-specific call in the
whole vl.c file. Move the module initialization out to arch_init.c,
that way we'll be able to build vl.o once for all targets (the
next commit).

Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
  include/sysemu/arch_init.h | 2 ++
  softmmu/arch_init.c        | 9 +++++++++
  softmmu/vl.c               | 5 +----
  3 files changed, 12 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to