From: Philippe Mathieu-Daudé Date: Wed, 7 Jan 2026 08:41:52 +0000 (+0100) Subject: target/hppa: Avoid target-specific migration headers in machine.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253b483940d910cb30084aa38144faf2cec9733f;p=thirdparty%2Fqemu.git target/hppa: Avoid target-specific migration headers in machine.c machine.c doesn't use any target-specific macro defined by the "migration/cpu.h" header. Use the minimum header required: "migration/qemu-file-types.h" and "migration/vmstate.h", which are not target-specific. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Prasad Pandit Reviewed-by: Richard Henderson Message-ID: <20260107200702.54582-8-philmd@linaro.org> --- diff --git a/target/hppa/machine.c b/target/hppa/machine.c index 13e555151a..6a143cf8df 100644 --- a/target/hppa/machine.c +++ b/target/hppa/machine.c @@ -19,7 +19,8 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "migration/cpu.h" +#include "migration/qemu-file-types.h" +#include "migration/vmstate.h" static int get_psw(QEMUFile *f, void *opaque, size_t size,