target: Add missing "qemu/timer.h" include
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 7 Feb 2022 08:27:54 +0000 (09:27 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 21 Feb 2022 09:18:06 +0000 (10:18 +0100)
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
target/arm/helper.c
target/hppa/cpu.c
target/riscv/csr.c
target/sparc/helper.c

index 5a9c02a25619eca3dd7baa41c842739fc1290b82..525974b936b2e8409cbdfc0afd1e43bd6106337e 100644 (file)
@@ -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"
index b5f80988c900db5d3eac39d64daad2654a8f2d4e..795b35532fc8790fac28f55e235f02ea99f607c7 100644 (file)
@@ -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"
index 37b763fca0ff9ec1bc2e6b68d905929de24afe48..5f46ba801eefe6dfb1d8dcc84f9e71b87db0865b 100644 (file)
@@ -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"
index fe2c8dd40ecc5e1104febf2a24fef00687501ec7..a938760a3fb7dbef1656f67e457bdaeffd81569f 100644 (file)
@@ -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"
index c7bcaa3a2031bde6801e6746bc2c19bd865149ba..c4358bba84aa9fe7345bb47ab46fd38269a6db38 100644 (file)
@@ -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"