Browse Source

target/m68k: clean-up includes in cpu.c

We don't need translation-block.h as the TB flags are local and the
only bits needed come from cpu-ops.h. The vmstate is a system only
concerns so we can guard against including it for linux-user.

Finally tidy up the order to keep things together with the local cpu.h
kept at the end.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20260219171810.602667-2-alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
master
Alex Bennée 6 months ago
committed by Philippe Mathieu-Daudé
parent
commit
345179a72f
  1. 11
      target/m68k/cpu.c

11
target/m68k/cpu.c

@ -19,12 +19,15 @@
*/
#include "qemu/osdep.h"
#include "accel/tcg/cpu-ops.h"
#include "fpu/softfloat.h"
#include "qapi/error.h"
#include "cpu.h"
#ifndef CONFIG_USER_ONLY
#include "migration/vmstate.h"
#include "fpu/softfloat.h"
#include "exec/translation-block.h"
#include "accel/tcg/cpu-ops.h"
#endif
#include "cpu.h"
static void m68k_cpu_set_pc(CPUState *cs, vaddr value)
{

Loading…
Cancel
Save