target/ppc/pmu: Include missing 'qemu/timer.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 28 Aug 2023 14:19:30 +0000 (16:19 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 31 Aug 2023 17:47:43 +0000 (19:47 +0200)
commite78d2f9c0af895e5c3783a41d0687d8afca2d907
treef95aec58283d9e9f4f1e0a1567bceb1edfdacbbc
parent05e94d80c9773b18811d3d459e4259f27cc7b4e2
target/ppc/pmu: Include missing 'qemu/timer.h' header

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-2-philmd@linaro.org>
target/ppc/power8-pmu.c