summary refs log tree commit diff stats
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-25 19:47:32 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 14:08:48 -0700
commit31d399ff385498816e597bcc72de0f6efc36051e (patch)
treeaddf8fae21c8361ef11c1008d95d9a24003819b5 /include/exec
parent4d43552abe5c20ab414c054dd591bb6777832355 (diff)
downloadfocaccia-qemu-31d399ff385498816e597bcc72de0f6efc36051e.tar.gz
focaccia-qemu-31d399ff385498816e597bcc72de0f6efc36051e.zip
accel/tcg: Fix argument types of tlb_reset_dirty
The arguments to tlb_reset_dirty are host pointers.
The conversion from ram_addr_t was done in the sole
caller, tlb_reset_dirty_range_all.

Fixes: e554861766d ("exec: prepare for splitting")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/cputlb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/cputlb.h b/include/exec/cputlb.h
index 8125f6809c..03ed7e2165 100644
--- a/include/exec/cputlb.h
+++ b/include/exec/cputlb.h
@@ -31,7 +31,7 @@ void tlb_unprotect_code(ram_addr_t ram_addr);
 #endif
 
 #ifndef CONFIG_USER_ONLY
-void tlb_reset_dirty(CPUState *cpu, ram_addr_t start1, ram_addr_t length);
+void tlb_reset_dirty(CPUState *cpu, uintptr_t start, uintptr_t length);
 void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length);
 #endif