In order to use the %vaddr type in s390_cpu_get_phys_page_debug()
in the next commit, rename the argument @vaddr -> @v_addr.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
---
target/s390x/helper.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/s390x/helper.c b/target/s390x/helper.c
index a6c89ed0af3..d0c36d4a537 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 v_addr)
{
hwaddr phys_addr;
target_ulong page;
- page = vaddr & TARGET_PAGE_MASK;
+ page = v_addr & TARGET_PAGE_MASK;
phys_addr = cpu_get_phys_page_debug(cs, page);
- phys_addr += (vaddr & ~TARGET_PAGE_MASK);
+ phys_addr += (v_addr & ~TARGET_PAGE_MASK);
return phys_addr;
}
--
2.52.0