mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
accel/tcg: Restrict 'icount_align_option' global to TCG
Since commit 740b175973
("cpu-timers, icount: new modules")
we don't need to expose icount_align_option to all the
system code, we can restrict it to TCG. Since it is used as
a boolean, declare it as 'bool' type.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250123234415.59850-10-philmd@linaro.org>
This commit is contained in:
parent
cbaae5338b
commit
fb26a3fd0e
4 changed files with 4 additions and 3 deletions
|
@ -38,8 +38,6 @@ void resume_all_vcpus(void);
|
|||
void pause_all_vcpus(void);
|
||||
void cpu_stop_current(void);
|
||||
|
||||
extern int icount_align_option;
|
||||
|
||||
/* Unblock cpu */
|
||||
void qemu_cpu_kick_self(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue