]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/hppa: Avoid target-specific migration headers in machine.c
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 7 Jan 2026 08:41:52 +0000 (09:41 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 12 Jan 2026 22:47:56 +0000 (23:47 +0100)
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é <philmd@linaro.org>
Reviewed-by: Prasad Pandit <pjp@fedoraproject.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260107200702.54582-8-philmd@linaro.org>

target/hppa/machine.c

index 13e555151a693f18a8f81addf88f5bffb86a6aaf..6a143cf8df2102b71a448e0604347379cfef5895 100644 (file)
@@ -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,