[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 20/25] target: Add missing "qemu/timer.h" include
From: |
Thomas Huth |
Subject: |
[PULL 20/25] target: Add missing "qemu/timer.h" include |
Date: |
Mon, 21 Feb 2022 13:00:03 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
timer_new_ns(), cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are
declared in "qemu/timer.h".
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220207082756.82600-8-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
target/arm/cpu.c | 1 +
target/arm/helper.c | 1 +
target/hppa/cpu.c | 1 +
target/riscv/csr.c | 1 +
target/sparc/helper.c | 1 +
5 files changed, 5 insertions(+)
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index 5a9c02a256..525974b936 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -20,6 +20,7 @@
#include "qemu/osdep.h"
#include "qemu/qemu-print.h"
+#include "qemu/timer.h"
#include "qemu-common.h"
#include "target/arm/idau.h"
#include "qemu/module.h"
diff --git a/target/arm/helper.c b/target/arm/helper.c
index b5f80988c9..795b35532f 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -15,6 +15,7 @@
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
#include "qemu/main-loop.h"
+#include "qemu/timer.h"
#include "qemu/bitops.h"
#include "qemu/crc32c.h"
#include "qemu/qemu-print.h"
diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c
index 37b763fca0..5f46ba801e 100644
--- a/target/hppa/cpu.c
+++ b/target/hppa/cpu.c
@@ -21,6 +21,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu/qemu-print.h"
+#include "qemu/timer.h"
#include "cpu.h"
#include "qemu/module.h"
#include "exec/exec-all.h"
diff --git a/target/riscv/csr.c b/target/riscv/csr.c
index fe2c8dd40e..a938760a3f 100644
--- a/target/riscv/csr.c
+++ b/target/riscv/csr.c
@@ -19,6 +19,7 @@
#include "qemu/osdep.h"
#include "qemu/log.h"
+#include "qemu/timer.h"
#include "cpu.h"
#include "qemu/main-loop.h"
#include "exec/exec-all.h"
diff --git a/target/sparc/helper.c b/target/sparc/helper.c
index c7bcaa3a20..c4358bba84 100644
--- a/target/sparc/helper.c
+++ b/target/sparc/helper.c
@@ -20,6 +20,7 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/exec-all.h"
+#include "qemu/timer.h"
#include "qemu/host-utils.h"
#include "exec/helper-proto.h"
--
2.27.0
- [PULL 09/25] tests/qtest: failover: check missing guest feature, (continued)
- [PULL 09/25] tests/qtest: failover: check missing guest feature, Thomas Huth, 2022/02/21
- [PULL 13/25] scripts: Remove the old switch-timer-api script, Thomas Huth, 2022/02/21
- [PULL 19/25] core/ptimers: Remove unnecessary 'sysemu/cpus.h' include, Thomas Huth, 2022/02/21
- [PULL 16/25] hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header, Thomas Huth, 2022/02/21
- [PULL 17/25] qtest: Add missing 'hw/qdev-core.h' include, Thomas Huth, 2022/02/21
- [PULL 15/25] hw/remote: Add missing include, Thomas Huth, 2022/02/21
- [PULL 21/25] linux-user: Add missing "qemu/timer.h" include, Thomas Huth, 2022/02/21
- [PULL 22/25] softmmu/runstate: Clean headers, Thomas Huth, 2022/02/21
- [PULL 24/25] hw/m68k/mcf: Add missing 'exec/hwaddr.h' header, Thomas Huth, 2022/02/21
- [PULL 18/25] exec/ramblock: Add missing includes, Thomas Huth, 2022/02/21
- [PULL 20/25] target: Add missing "qemu/timer.h" include,
Thomas Huth <=
- [PULL 23/25] exec/exec-all: Move 'qemu/log.h' include in units requiring it, Thomas Huth, 2022/02/21
- [PULL 25/25] hw/tricore: Remove unused and incorrect header, Thomas Huth, 2022/02/21
- Re: [PULL 00/25] qtest patches and misc header clean-ups, Philippe Mathieu-Daudé, 2022/02/21
- Re: [PULL 00/25] qtest patches and misc header clean-ups, Peter Maydell, 2022/02/22