[PATCH v2 12/12] cpu: Replace target_ulong with hwaddr in tb_invalidate_phys_addr()

Anton Johansson via posted 12 patches 2 years, 9 months ago
There is a newer version of this series
[PATCH v2 12/12] cpu: Replace target_ulong with hwaddr in tb_invalidate_phys_addr()
Posted by Anton Johansson via 2 years, 9 months ago
Signed-off-by: Anton Johansson <anjo@rev.ng>
---
 cpu.c                   | 2 +-
 include/exec/exec-all.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpu.c b/cpu.c
index 9105c85404..41150a6136 100644
--- a/cpu.c
+++ b/cpu.c
@@ -293,7 +293,7 @@ void list_cpus(void)
 }
 
 #if defined(CONFIG_USER_ONLY)
-void tb_invalidate_phys_addr(target_ulong addr)
+void tb_invalidate_phys_addr(hwaddr addr)
 {
     mmap_lock();
     tb_invalidate_phys_page(addr);
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index cc1c3556f6..200c27eadf 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -526,7 +526,7 @@ uint32_t curr_cflags(CPUState *cpu);
 
 /* TranslationBlock invalidate API */
 #if defined(CONFIG_USER_ONLY)
-void tb_invalidate_phys_addr(target_ulong addr);
+void tb_invalidate_phys_addr(hwaddr addr);
 #else
 void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs);
 #endif
-- 
2.39.1
Re: [PATCH v2 12/12] cpu: Replace target_ulong with hwaddr in tb_invalidate_phys_addr()
Posted by Richard Henderson 2 years, 9 months ago
On 5/5/23 15:14, Anton Johansson wrote:
> Signed-off-by: Anton Johansson<anjo@rev.ng>
> ---
>   cpu.c                   | 2 +-
>   include/exec/exec-all.h | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~