accel/tcg: Restrict 'icount_align_option' global to TCG
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 23 Jan 2025 12:57:20 +0000 (13:57 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:17 +0000 (15:46 +0100)
commitfb26a3fd0e7b80c2b5bf6b90a36d5214153d0c3d
treed415dc91fd6395974e8abfc231b7caa4bb648553
parentcbaae5338b62a6e005e9a97f419b968e04a7004f
accel/tcg: Restrict 'icount_align_option' global to TCG

Since commit 740b1759734 ("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>
accel/tcg/icount-common.c
accel/tcg/internal-common.h
include/system/cpus.h
system/globals.c