On 12/12/23, Philippe Mathieu-Daudé wrote: > tcg_cpu_init_cflags() accesses CPUState fields, so requires > "hw/core/cpu.h" to get its structure definition. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > accel/tcg/tcg-accel-ops.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/accel/tcg/tcg-accel-ops.c b/accel/tcg/tcg-accel-ops.c > index 1b57290682..58806e2d7f 100644 > --- a/accel/tcg/tcg-accel-ops.c > +++ b/accel/tcg/tcg-accel-ops.c > @@ -37,6 +37,8 @@ > #include "exec/tb-flush.h" > #include "exec/gdbstub.h" > > +#include "hw/core/cpu.h" > + > #include "tcg-accel-ops.h" > #include "tcg-accel-ops-mttcg.h" > #include "tcg-accel-ops-rr.h" > -- > 2.41.0 > Reviewed-by: Anton Johansson <[email protected]>
- [PATCH v2 00/23] exec: Rework of various headers (... Philippe Mathieu-Daudé
- [PATCH v2 05/23] gdbstub: Include missing 'hw... Philippe Mathieu-Daudé
- [PATCH v2 11/23] accel/tcg: Include missing '... Philippe Mathieu-Daudé
- Re: [PATCH v2 11/23] accel/tcg: Include m... Anton Johansson via
- [PATCH v2 12/23] exec/cpu-all: Remove unused ... Philippe Mathieu-Daudé
- Re: [PATCH v2 12/23] exec/cpu-all: Remove... Anton Johansson via
- [PATCH v2 07/23] semihosting/guestfd: Remove ... Philippe Mathieu-Daudé
- Re: [PATCH v2 07/23] semihosting/guestfd:... Anton Johansson via
- [PATCH v2 14/23] exec/cpu-all: Remove unused ... Philippe Mathieu-Daudé
- Re: [PATCH v2 14/23] exec/cpu-all: Remove... Anton Johansson via
- [PATCH v2 09/23] host/atomic128: Include miss... Philippe Mathieu-Daudé
- Re: [PATCH v2 09/23] host/atomic128: Incl... Anton Johansson via
- [PATCH v2 06/23] semihosting/uaccess: Avoid i... Philippe Mathieu-Daudé
- [PATCH v2 13/23] exec/cpu-all: Reduce 'qemu/r... Philippe Mathieu-Daudé
