target/mips: Remove unused 'rw' argument from page_table_walk_refill()
PATCH 1/1 target/mips: Remove unused 'rw' argument from page_table_walk_refill()
As the 'rw' argument is unused, remove it.
Reported-by Richard Henderson <[email protected]>
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- target/mips/tlb_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
target/mips/tlb_helper.c +3 -3
@@ -622,8 +622,8 @@ static int walk_directory(CPUMIPSState *env, uint64_t *vaddr, } } -static bool page_table_walk_refill (CPUMIPSState *env,vaddr address,int rw, -int mmu_idx) +static bool page_table_walk_refill (CPUMIPSState *env,vaddr address, +int mmu_idx) {int gdw = (env->CP0_PWSize >>CP0PS_GDW ) &0x3F ;int udw = (env->CP0_PWSize >>CP0PS_UDW ) &0x3F ;
@@ -881,7 +881,7 @@ bool mips_cpu_tlb_fill(CPUState *cs, vaddr address, int size,int mode = (env->hflags &MIPS_HFLAG_KSU );bool ret_walker; env->hflags &= ~MIPS_HFLAG_KSU ; - ret_walker =page_table_walk_refill (env, address, access_type, mmu_idx); + ret_walker =page_table_walk_refill (env, address, mmu_idx); env->hflags |= mode;if (ret_walker) { ret = get_physical_address(env, &physical, &prot, address,
Signature · 1 line
2.26.2
Quoted 7 lines · Philippe Mathieu-Daudé
As the 'rw' argument is unused, remove it.
Reported-by Richard Henderson <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- target/mips/tlb_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by Richard Henderson <[email protected]>
r~
Philippe Mathieu-Daudé
AppliedQuoted 7 lines · Philippe Mathieu-Daudé
As the 'rw' argument is unused, remove it.
Reported-by Richard Henderson <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- target/mips/tlb_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks, applied to mips-next.