[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/44] accel/tcg: remove redundant TCG_KICK_PERIOD define
From: |
Richard Henderson |
Subject: |
[PULL 04/44] accel/tcg: remove redundant TCG_KICK_PERIOD define |
Date: |
Mon, 13 Sep 2021 17:14:16 -0700 |
From: Luc Michel <lmichel@kalray.eu>
The TCG_KICK_PERIOD macro is already defined in tcg-accel-ops-rr.h.
Remove it from tcg-accel-ops-rr.c.
Signed-off-by: Luc Michel <lmichel@kalray.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210811141229.12470-1-lmichel@kalray.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
accel/tcg/tcg-accel-ops-rr.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/accel/tcg/tcg-accel-ops-rr.c b/accel/tcg/tcg-accel-ops-rr.c
index c02c061ecb..a5fd26190e 100644
--- a/accel/tcg/tcg-accel-ops-rr.c
+++ b/accel/tcg/tcg-accel-ops-rr.c
@@ -60,8 +60,6 @@ void rr_kick_vcpu_thread(CPUState *unused)
static QEMUTimer *rr_kick_vcpu_timer;
static CPUState *rr_current_cpu;
-#define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
-
static inline int64_t rr_next_kick_time(void)
{
return qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + TCG_KICK_PERIOD;
--
2.25.1
- [PULL 00/44] tcg patch queue, v2, Richard Henderson, 2021/09/13
- [PULL 01/44] accel/tcg: Add DisasContextBase argument to translator_ld*, Richard Henderson, 2021/09/13
- [PULL 03/44] tcg/i386: Split P_VEXW from P_REXW, Richard Henderson, 2021/09/13
- [PULL 06/44] tcg/ppc: Replace TCG_TARGET_CALL_DARWIN with _CALL_DARWIN, Richard Henderson, 2021/09/13
- [PULL 02/44] accel/tcg: Clear PAGE_WRITE before translation, Richard Henderson, 2021/09/13
- [PULL 04/44] accel/tcg: remove redundant TCG_KICK_PERIOD define,
Richard Henderson <=
- [PULL 09/44] target/avr: Remove pointless use of CONFIG_USER_ONLY definition, Richard Henderson, 2021/09/13
- [PULL 05/44] tcg: Remove tcg_global_reg_new defines, Richard Henderson, 2021/09/13
- [PULL 10/44] target/i386: Restrict sysemu-only fpu_helper helpers, Richard Henderson, 2021/09/13
- [PULL 08/44] tcg/arm: Fix tcg_out_vec_op function signature, Richard Henderson, 2021/09/13
- [PULL 07/44] tcg/ppc: Ensure _CALL_SYSV is set for 32-bit ELF, Richard Henderson, 2021/09/13
- [PULL 21/44] target/microblaze: Restrict cpu_exec_interrupt() handler to sysemu, Richard Henderson, 2021/09/13
- [PULL 15/44] target/arm: Restrict cpu_exec_interrupt() handler to sysemu, Richard Henderson, 2021/09/13
- [PULL 18/44] target/i386: Restrict cpu_exec_interrupt() handler to sysemu, Richard Henderson, 2021/09/13
- [PULL 25/44] target/ppc: Restrict cpu_exec_interrupt() handler to sysemu, Richard Henderson, 2021/09/13
- [PULL 24/44] target/openrisc: Restrict cpu_exec_interrupt() handler to sysemu, Richard Henderson, 2021/09/13