[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/8] target/ppc/pmu: Include missing 'qemu/timer.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 1/8] target/ppc/pmu: Include missing 'qemu/timer.h' header |
Date: |
Mon, 28 Aug 2023 16:55:38 +0200 |
Since commit c2eff582a3 ("target/ppc: PMU basic cycle count for
pseries TCG") pmu_update_cycles() uses QEMU_CLOCK_VIRTUAL and
calls qemu_clock_get_ns(), both defined in "qemu/timer.h".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/ppc/power8-pmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/ppc/power8-pmu.c b/target/ppc/power8-pmu.c
index 7bb4bf81f7..2537cded83 100644
--- a/target/ppc/power8-pmu.c
+++ b/target/ppc/power8-pmu.c
@@ -16,6 +16,7 @@
#include "exec/exec-all.h"
#include "exec/helper-proto.h"
#include "qemu/error-report.h"
+#include "qemu/timer.h"
#include "qemu/main-loop.h"
#include "hw/ppc/ppc.h"
#include "power8-pmu.h"
--
2.41.0
- [PATCH 0/8] target/translate: Remove unused "exec/cpu_ldst.h" / "qemu/main-loop.h", Philippe Mathieu-Daudé, 2023/08/28
- [PATCH 1/8] target/ppc/pmu: Include missing 'qemu/timer.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 2/8] target/riscv/pmu: Restrict 'qemu/log.h' include to source, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH 3/8] target/translate: Include missing 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH 4/8] target/translate: Remove unnecessary 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH 5/8] target/translate: Restrict 'exec/cpu_ldst.h' to user emulation, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH 6/8] target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH 7/8] target/helper: Remove unnecessary 'qemu/main-loop.h' header, Philippe Mathieu-Daudé, 2023/08/28