Message ID | 20230914195229.78244-2-philmd@linaro.org |
---|---|
State | New |
Headers | show |
Series | accel/tcg: Stubs cleanups | expand |
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 --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) { }
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(-)