Re: [PATCH 09/20] accel/tcg: Restrict 'icount_align_option' global to TCG

Richard Henderson
2025-01-26T20:34:26Z

On 1/23/25 15:44, Philippe Mathieu-Daudé wrote:
> 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>
> ---
> accel/tcg/internal-common.h | 2 ++
> include/system/cpus.h | 2 --
> accel/tcg/icount-common.c | 2 ++
> system/globals.c | 1 -
> 4 files changed, 4 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~