qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] hw/core: Constify TCGCPUOps


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/2] hw/core: Constify TCGCPUOps
Date: Sun, 28 Feb 2021 17:14:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 2/28/21 12:25 AM, Richard Henderson wrote:
> We no longer have any runtime modifications to this struct,
> so declare them all const.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  include/hw/core/cpu.h           | 2 +-
>  target/alpha/cpu.c              | 2 +-
>  target/arm/cpu.c                | 2 +-
>  target/arm/cpu_tcg.c            | 2 +-
>  target/avr/cpu.c                | 2 +-
>  target/cris/cpu.c               | 4 ++--
>  target/hexagon/cpu.c            | 2 +-
>  target/hppa/cpu.c               | 2 +-
>  target/i386/tcg/tcg-cpu.c       | 2 +-
>  target/lm32/cpu.c               | 2 +-
>  target/m68k/cpu.c               | 2 +-
>  target/microblaze/cpu.c         | 2 +-
>  target/mips/cpu.c               | 2 +-
>  target/moxie/cpu.c              | 2 +-
>  target/nios2/cpu.c              | 2 +-
>  target/openrisc/cpu.c           | 2 +-
>  target/riscv/cpu.c              | 2 +-
>  target/rx/cpu.c                 | 2 +-
>  target/s390x/cpu.c              | 2 +-
>  target/sh4/cpu.c                | 2 +-
>  target/sparc/cpu.c              | 2 +-
>  target/tilegx/cpu.c             | 2 +-
>  target/tricore/cpu.c            | 2 +-
>  target/unicore32/cpu.c          | 2 +-
>  target/xtensa/cpu.c             | 2 +-
>  target/ppc/translate_init.c.inc | 2 +-
>  26 files changed, 27 insertions(+), 27 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]