cpu_get_phys_page_debug() takes a vaddr argument. Rename the @vaddr argument to avoid confusing the compiler.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/s390x/helper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/s390x/helper.c b/target/s390x/helper.c index 59e1fd0c4fe..f124b16d1b3 100644 --- a/target/s390x/helper.c +++ b/target/s390x/helper.c @@ -68,14 +68,14 @@ hwaddr s390_cpu_get_phys_page_debug(CPUState *cs, vaddr vaddr) return raddr; } -hwaddr s390_cpu_get_phys_addr_debug(CPUState *cs, vaddr vaddr) +hwaddr s390_cpu_get_phys_addr_debug(CPUState *cs, vaddr addr) { hwaddr phys_addr; - target_ulong page; + vaddr page; - page = vaddr & TARGET_PAGE_MASK; + page = addr & TARGET_PAGE_MASK; phys_addr = cpu_get_phys_page_debug(cs, page); - phys_addr += (vaddr & ~TARGET_PAGE_MASK); + phys_addr += (addr & ~TARGET_PAGE_MASK); return phys_addr; } -- 2.52.0
