All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] target/i386: Pass const CPUX86State to x86_cpu_pending_interrupt()
       [not found] <20250120061544.81623-1-philmd@linaro.org>
@ 2025-01-21 12:35 ` Zhao Liu
  2025-01-21 15:53 ` Richard Henderson
  1 sibling, 0 replies; 2+ messages in thread
From: Zhao Liu @ 2025-01-21 12:35 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Paolo Bonzini, Eduardo Habkost, Richard Henderson

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é <philmd@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é <philmd@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.liu@intel.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] target/i386: Pass const CPUX86State to x86_cpu_pending_interrupt()
       [not found] <20250120061544.81623-1-philmd@linaro.org>
  2025-01-21 12:35 ` [PATCH] target/i386: Pass const CPUX86State to x86_cpu_pending_interrupt() Zhao Liu
@ 2025-01-21 15:53 ` Richard Henderson
  1 sibling, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2025-01-21 15:53 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel
  Cc: Paolo Bonzini, Eduardo Habkost, Zhao Liu

On 1/19/25 22:15, Philippe Mathieu-Daudé wrote:
> 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é<philmd@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: Richard Henderson <richard.henderson@linaro.org>

r~


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-21 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250120061544.81623-1-philmd@linaro.org>
2025-01-21 12:35 ` [PATCH] target/i386: Pass const CPUX86State to x86_cpu_pending_interrupt() Zhao Liu
2025-01-21 15:53 ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.