aboutsummaryrefslogtreecommitdiff
path: root/target/riscv
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-08-28 16:07:50 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-08-31 19:47:43 +0200
commit73c1970676b27bc8d2229adeb34b8e903c4b873c (patch)
treebc4cb6f8c77ba59471b5e3069d21d98eae3695a0 /target/riscv
parent907a2af1fd30958c362c5f1edd05017b9591818f (diff)
downloadqemu-73c1970676b27bc8d2229adeb34b8e903c4b873c.zip
qemu-73c1970676b27bc8d2229adeb34b8e903c4b873c.tar.gz
qemu-73c1970676b27bc8d2229adeb34b8e903c4b873c.tar.bz2
target/helpers: Remove unnecessary 'qemu/main-loop.h' header
"qemu/main-loop.h" declares functions related to QEMU's main loop mutex, which these files don't access. Remove the unused "qemu/main-loop.h" header. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230828221314.18435-8-philmd@linaro.org>
Diffstat (limited to 'target/riscv')
-rw-r--r--target/riscv/csr.c1
-rw-r--r--target/riscv/m128_helper.c1
-rw-r--r--target/riscv/op_helper.c1
-rw-r--r--target/riscv/pmu.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/target/riscv/csr.c b/target/riscv/csr.c
index ea75853..de31818 100644
--- a/target/riscv/csr.c
+++ b/target/riscv/csr.c
@@ -23,7 +23,6 @@
#include "cpu.h"
#include "pmu.h"
#include "time_helper.h"
-#include "qemu/main-loop.h"
#include "exec/exec-all.h"
#include "exec/tb-flush.h"
#include "sysemu/cpu-timers.h"
diff --git a/target/riscv/m128_helper.c b/target/riscv/m128_helper.c
index e6a4f61..ec14aaa 100644
--- a/target/riscv/m128_helper.c
+++ b/target/riscv/m128_helper.c
@@ -19,7 +19,6 @@
#include "qemu/osdep.h"
#include "cpu.h"
-#include "qemu/main-loop.h"
#include "exec/exec-all.h"
#include "exec/helper-proto.h"
diff --git a/target/riscv/op_helper.c b/target/riscv/op_helper.c
index 7e2f190..5355225 100644
--- a/target/riscv/op_helper.c
+++ b/target/riscv/op_helper.c
@@ -21,7 +21,6 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "internals.h"
-#include "qemu/main-loop.h"
#include "exec/exec-all.h"
#include "exec/cpu_ldst.h"
#include "exec/helper-proto.h"
diff --git a/target/riscv/pmu.h b/target/riscv/pmu.h
index 60fdd6f..2bfb71b 100644
--- a/target/riscv/pmu.h
+++ b/target/riscv/pmu.h
@@ -17,7 +17,6 @@
*/
#include "cpu.h"
-#include "qemu/main-loop.h"
bool riscv_pmu_ctr_monitor_instructions(CPURISCVState *env,
uint32_t target_ctr);