Message ID | 20221209110631.59031-2-philmd@linaro.org |
---|---|
State | New |
Headers | show |
Series | physmem: Remove trace events from trace-root.h | expand |
On Fri, 9 Dec 2022 at 11:07, Philippe Mathieu-Daudé <philmd@linaro.org> wrote: > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > softmmu/physmem.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/softmmu/physmem.c b/softmmu/physmem.c > index 1b606a3002..d562c0bb93 100644 > --- a/softmmu/physmem.c > +++ b/softmmu/physmem.c > @@ -58,7 +58,6 @@ > > #include "qemu/rcu_queue.h" > #include "qemu/main-loop.h" > -#include "exec/translate-all.h" > #include "sysemu/replay.h" > > #include "exec/memory-internal.h" > -- physmem.c has a call to tb_check_watchpoint(), which is declared in translate-all.h -- where does it get the prototype from if the header isn't included any more ? thanks -- PMM
On 9/12/22 12:43, Peter Maydell wrote: > On Fri, 9 Dec 2022 at 11:07, Philippe Mathieu-Daudé <philmd@linaro.org> wrote: >> >> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> >> --- >> softmmu/physmem.c | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/softmmu/physmem.c b/softmmu/physmem.c >> index 1b606a3002..d562c0bb93 100644 >> --- a/softmmu/physmem.c >> +++ b/softmmu/physmem.c >> @@ -58,7 +58,6 @@ >> >> #include "qemu/rcu_queue.h" >> #include "qemu/main-loop.h" >> -#include "exec/translate-all.h" >> #include "sysemu/replay.h" >> >> #include "exec/memory-internal.h" >> -- > > physmem.c has a call to tb_check_watchpoint(), which is declared > in translate-all.h -- where does it get the prototype from if > the header isn't included any more ? Oops indeed, sorry.
diff --git a/softmmu/physmem.c b/softmmu/physmem.c index 1b606a3002..d562c0bb93 100644 --- a/softmmu/physmem.c +++ b/softmmu/physmem.c @@ -58,7 +58,6 @@ #include "qemu/rcu_queue.h" #include "qemu/main-loop.h" -#include "exec/translate-all.h" #include "sysemu/replay.h" #include "exec/memory-internal.h"
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- softmmu/physmem.c | 1 - 1 file changed, 1 deletion(-)