diff mbox series

[1/4] accel/tcg: Remove tlb_set_dirty() stub

Message ID 20230914195229.78244-2-philmd@linaro.org
State New
Headers show
Series accel/tcg: Stubs cleanups | expand

Commit Message

Philippe Mathieu-Daudé Sept. 14, 2023, 7:52 p.m. UTC
Since commit 34d49937e4 ("accel/tcg: Handle atomic accesses
to notdirty memory correctly") there is only a single call
to tlb_set_dirty(), within accel/tcg/cputlb.c itself where
the function is defined.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 accel/stubs/tcg-stub.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Harsh Prateek Bora Sept. 15, 2023, 2:06 p.m. UTC | #1
On 9/15/23 01:22, Philippe Mathieu-Daudé wrote:
> Since commit 34d49937e4 ("accel/tcg: Handle atomic accesses
> to notdirty memory correctly") there is only a single call
> to tlb_set_dirty(), within accel/tcg/cputlb.c itself where
> the function is defined.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>

> ---
>   accel/stubs/tcg-stub.c | 4 ----
>   1 file changed, 4 deletions(-)
> 
> diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c
> index a9e7a2d5b4..f088054f34 100644
> --- a/accel/stubs/tcg-stub.c
> +++ b/accel/stubs/tcg-stub.c
> @@ -18,10 +18,6 @@ void tb_flush(CPUState *cpu)
>   {
>   }
>   
> -void tlb_set_dirty(CPUState *cpu, vaddr vaddr)
> -{
> -}
> -
>   void tcg_flush_jmp_cache(CPUState *cpu)
>   {
>   }
diff mbox series

Patch

diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c
index a9e7a2d5b4..f088054f34 100644
--- a/accel/stubs/tcg-stub.c
+++ b/accel/stubs/tcg-stub.c
@@ -18,10 +18,6 @@  void tb_flush(CPUState *cpu)
 {
 }
 
-void tlb_set_dirty(CPUState *cpu, vaddr vaddr)
-{
-}
-
 void tcg_flush_jmp_cache(CPUState *cpu)
 {
 }