On 8/31/26 23:52, Philippe Mathieu-Daudé wrote:
All functions called by cpu_mmu_index() take a const
@cpu argument. Propagate the constness to the caller
(CPU state should not mutate when resolving the MMU
index of the current translation regime).
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
include/accel/tcg/cpu-mmu-index.h | 2 +-
include/accel/tcg/cpu-ops.h | 2 +-
target/alpha/cpu.h | 2 +-
target/arm/internals.h | 4 ++--
target/i386/tcg/tcg-cpu.h | 2 +-
target/ppc/cpu.h | 2 +-
target/s390x/cpu.h | 2 +-
target/alpha/cpu.c | 2 +-
target/arm/cpu.c | 2 +-
target/avr/cpu.c | 2 +-
target/hexagon/cpu.c | 6 +++---
target/hppa/cpu.c | 4 ++--
target/i386/tcg/tcg-cpu.c | 6 +++---
target/loongarch/tcg/tcg_cpu.c | 4 ++--
target/m68k/cpu.c | 2 +-
target/microblaze/cpu.c | 6 +++---
target/mips/cpu.c | 2 +-
target/or1k/cpu.c | 4 ++--
target/ppc/cpu_init.c | 2 +-
target/riscv/tcg/tcg-cpu.c | 2 +-
target/rx/cpu.c | 2 +-
target/s390x/cpu.c | 2 +-
target/sh4/cpu.c | 4 ++--
target/sparc/cpu.c | 4 ++--
target/tricore/cpu.c | 2 +-
target/xtensa/cpu.c | 2 +-
26 files changed, 38 insertions(+), 38 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~