28 lines
735 B
Diff
28 lines
735 B
Diff
|
|
From 0826efefea34a6fb6e17502f3a293572f109a261 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Xianglai Li <lixianglai@loongson.cn>
|
||
|
|
Date: Thu, 5 Dec 2024 14:18:01 +0800
|
||
|
|
Subject: [PATCH] fix compile error on loongarch
|
||
|
|
|
||
|
|
add cpu.h in loongarch_ipi.c
|
||
|
|
|
||
|
|
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
|
||
|
|
---
|
||
|
|
hw/intc/loongarch_ipi.c | 1 +
|
||
|
|
1 file changed, 1 insertion(+)
|
||
|
|
|
||
|
|
diff --git a/hw/intc/loongarch_ipi.c b/hw/intc/loongarch_ipi.c
|
||
|
|
index e228669aa5..630bcb14ea 100644
|
||
|
|
--- a/hw/intc/loongarch_ipi.c
|
||
|
|
+++ b/hw/intc/loongarch_ipi.c
|
||
|
|
@@ -15,6 +15,7 @@
|
||
|
|
#include "exec/address-spaces.h"
|
||
|
|
#include "hw/loongarch/virt.h"
|
||
|
|
#include "migration/vmstate.h"
|
||
|
|
+#include "target/loongarch/cpu.h"
|
||
|
|
#include "target/loongarch/internals.h"
|
||
|
|
#include "trace.h"
|
||
|
|
|
||
|
|
--
|
||
|
|
2.39.1
|
||
|
|
|