Re: [PATCH 15/20] cpus: Fix style in cpu-target.c

Richard Henderson
2025-01-26T21:14:45Z

On 1/23/25 15:44, Philippe Mathieu-Daudé wrote:
> Fix style on code we are going to modify.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> cpu-target.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/cpu-target.c b/cpu-target.c
> index 6d8b7825746..a2999e7c3c0 100644
> --- a/cpu-target.c
> +++ b/cpu-target.c
> @@ -47,12 +47,15 @@ static int cpu_common_post_load(void *opaque, int version_id)
> {
> CPUState *cpu = opaque;
>
> - /* 0x01 was CPU_INTERRUPT_EXIT. This line can be removed when the
> - version_id is increased. */
> + /*
> + * 0x01 was CPU_INTERRUPT_EXIT. This line can be removed when the
> + * version_id is increased.
> + */
> cpu->interrupt_request &= ~0x01;
> tlb_flush(cpu);
>
> - /* loadvm has just updated the content of RAM, bypassing the
> + /*
> + * loadvm has just updated the content of RAM, bypassing the
> * usual mechanisms that ensure we flush TBs for writes to
> * memory we've translated code from. So we must flush all TBs,
> * which will now be stale.

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

r~