On 3/11/21 1:21 AM, Richard Henderson wrote: > Start removing the include of hw/boards.h from tcg/. > Pass down the max_cpus value from tcg_init_machine, > where we have the MachineState already. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > include/tcg/tcg.h | 2 +- > tcg/internal.h | 2 +- > accel/tcg/tcg-all.c | 10 +++++++++- > tcg/region.c | 32 +++++++++++--------------------- > tcg/tcg.c | 10 ++++------ > 5 files changed, 26 insertions(+), 30 deletions(-)
Nice cleanup. Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>