On Mon, Jan 20, 2025 at 07:15:44AM +0100, Philippe Mathieu-Daudé wrote:
> Date: Mon, 20 Jan 2025 07:15:44 +0100
> From: Philippe Mathieu-Daudé <phi...@linaro.org>
> Subject: [PATCH] target/i386: Pass const CPUX86State to
>  x86_cpu_pending_interrupt()
> X-Mailer: git-send-email 2.47.1
> 
> Directly pass CPUX86State to x86_cpu_pending_interrupt().
> Since it doesn't modify the dereferenced fields, make the
> argument const.
> 
> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> ---
>  target/i386/cpu.h                   | 2 +-
>  target/i386/cpu.c                   | 8 +++-----
>  target/i386/tcg/system/seg_helper.c | 2 +-
>  3 files changed, 5 insertions(+), 7 deletions(-)
> 

Reviewed-by: Zhao Liu <zhao1....@intel.com>


Reply via email to