diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-09-14 21:40:07 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 15:28:11 +0200 |
commit | 51579d40f9c719361ec9355bb48386e5d3ce85c1 (patch) | |
tree | dee2158b0daeba3dcb67675a791a579cd6489efa /include/exec | |
parent | 7d7a21ba691d3f52fdcf123adf2b79f7ce88174d (diff) | |
download | qemu-51579d40f9c719361ec9355bb48386e5d3ce85c1.zip qemu-51579d40f9c719361ec9355bb48386e5d3ce85c1.tar.gz qemu-51579d40f9c719361ec9355bb48386e5d3ce85c1.tar.bz2 |
exec: Reduce tlb_set_dirty() declaration scope
tlb_set_dirty() is only used in accel/tcg/cputlb.c,
where it is defined. Declare it statically, removing
the stub.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240418192525.97451-11-philmd@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r-- | include/exec/exec-all.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 3e53501..9599e16 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -654,7 +654,6 @@ static inline void mmap_unlock(void) {} #define WITH_MMAP_LOCK_GUARD() void tlb_reset_dirty(CPUState *cpu, ram_addr_t start1, ram_addr_t length); -void tlb_set_dirty(CPUState *cpu, vaddr addr); void tlb_reset_dirty_range_all(ram_addr_t start, ram_addr_t length); MemoryRegionSection * |