diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-01-29 20:35:06 +1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-02-03 16:46:10 +1000 |
| commit | 3b916140043e2757dd8d51ec641a6885e960e6ca (patch) | |
| tree | ed25de61075bff662957dded8afc1508d23f7de8 /target/hppa/mem_helper.c | |
| parent | a120d32097910edfc1612c604836582c3a4b83c6 (diff) | |
| download | focaccia-qemu-3b916140043e2757dd8d51ec641a6885e960e6ca.tar.gz focaccia-qemu-3b916140043e2757dd8d51ec641a6885e960e6ca.zip | |
include/exec: Change cpu_mmu_index argument to CPUState
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa/mem_helper.c')
| -rw-r--r-- | target/hppa/mem_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hppa/mem_helper.c b/target/hppa/mem_helper.c index 4fcc612754..629a9d90ef 100644 --- a/target/hppa/mem_helper.c +++ b/target/hppa/mem_helper.c @@ -646,7 +646,7 @@ int hppa_artype_for_page(CPUHPPAState *env, target_ulong vaddr) void HELPER(diag_btlb)(CPUHPPAState *env) { unsigned int phys_page, len, slot; - int mmu_idx = cpu_mmu_index(env, 0); + int mmu_idx = cpu_mmu_index(env_cpu(env), 0); uintptr_t ra = GETPC(); HPPATLBEntry *btlb; uint64_t virt_page; |