Commit c87ef9d18a for qemu.org

commit c87ef9d18a49d698a7b82f310af679554ebb9524
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date:   Thu Jan 29 16:01:48 2026 +0100

    target/arm: Have arm_sctlr_b() take a const @env argument

    arm_sctlr_b() only access @env read-only, make it const.

    Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-ID: <20260202222412.24923-5-philmd@linaro.org>

diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 4023716841..e146f7e6c4 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -2385,7 +2385,7 @@ static inline bool arm_v7m_csselr_razwi(ARMCPU *cpu)
     return (GET_IDREG(&cpu->isar, CLIDR) & R_V7M_CLIDR_CTYPE_ALL_MASK) != 0;
 }

-static inline bool arm_sctlr_b(CPUARMState *env)
+static inline bool arm_sctlr_b(const CPUARMState *env)
 {
     return
         /* We need not implement SCTLR.ITD in user-mode emulation, so