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 /include/exec/cpu-all.h | |
| 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 'include/exec/cpu-all.h')
| -rw-r--r-- | include/exec/cpu-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index 80c0d0699b..bc05dce7ab 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -311,7 +311,7 @@ CPUArchState *cpu_copy(CPUArchState *env); #define TLB_MMIO (1 << (TARGET_PAGE_BITS_MIN - 2)) #define TLB_WATCHPOINT 0 -static inline int cpu_mmu_index(CPUArchState *env, bool ifetch) +static inline int cpu_mmu_index(CPUState *cs, bool ifetch) { return MMU_USER_IDX; } |