summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-09-01 08:46:26 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-02 17:58:05 +0200
commitf4e39e06d1c8cfc0cfd4d2f839d85f568072435d (patch)
treeb275e3aa4cfc8f81409788d524e8e5ff030eefc4
parent02423bc9d329b7ff274aa2cf7da544dc339d9724 (diff)
downloadfocaccia-qemu-f4e39e06d1c8cfc0cfd4d2f839d85f568072435d.tar.gz
focaccia-qemu-f4e39e06d1c8cfc0cfd4d2f839d85f568072435d.zip
hw/mips/loongson3_virt: Include 'system/system.h'
Files using serial_hd() should include 'system/system.h'. Fix that.

Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250901064631.530723-4-clg@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r--hw/mips/loongson3_virt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/mips/loongson3_virt.c b/hw/mips/loongson3_virt.c
index de6fbcc0cb..672083dec9 100644
--- a/hw/mips/loongson3_virt.c
+++ b/hw/mips/loongson3_virt.c
@@ -49,6 +49,7 @@
 #include "system/qtest.h"
 #include "system/reset.h"
 #include "system/runstate.h"
+#include "system/system.h"
 #include "qemu/error-report.h"
 
 #define PM_CNTL_MODE          0x10