Re: [PATCH 08/10] target: Add missing "qemu/timer.h" include

2022-02-06 Thread Alistair Francis
On Fri, Feb 4, 2022 at 6:35 AM Philippe Mathieu-Daudé via wrote: > > cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are declared > in "qemu/timer.h". > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- > target/arm/cpu.c | 1 + > target/arm/helper.c

Re: [PATCH 08/10] target: Add missing "qemu/timer.h" include

2022-02-05 Thread Richard Henderson
On 2/4/22 06:38, Philippe Mathieu-Daudé wrote: cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are declared in "qemu/timer.h". Signed-off-by: Philippe Mathieu-Daudé --- target/arm/cpu.c | 1 + target/arm/helper.c | 1 + target/hppa/cpu.c | 1 + target/riscv/csr.c| 1 + targe

Re: [PATCH 08/10] target: Add missing "qemu/timer.h" include

2022-02-04 Thread Thomas Huth
On 03/02/2022 20.38, Philippe Mathieu-Daudé wrote: cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are declared in "qemu/timer.h". Seems like target/hppa/cpu.c uses neither of those? ... ok, but it uses timer_new_ns(), so the hunk is still ok. Maybe worth to mention it here in the commit desc

[PATCH 08/10] target: Add missing "qemu/timer.h" include

2022-02-03 Thread Philippe Mathieu-Daudé via
cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are declared in "qemu/timer.h". Signed-off-by: Philippe Mathieu-Daudé --- 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