Re: [Qemu-devel] [PATCH v3 30/39] target/xtensa: Use env_cpu, env_archcpu

2019-05-09 Thread Alistair Francis
On Tue, May 7, 2019 at 5:37 PM Richard Henderson wrote: > > Move cpu_get_tb_cpu_state below the include of "exec/cpu-all.h" > so that the definition of env_cpu is available. > > Reviewed-by: Peter Maydell > Signed-off-by: Richard Henderson Reviewed-by: Alistair Francis Alistair > --- > targ

[Qemu-devel] [PATCH v3 30/39] target/xtensa: Use env_cpu, env_archcpu

2019-05-07 Thread Richard Henderson
Move cpu_get_tb_cpu_state below the include of "exec/cpu-all.h" so that the definition of env_cpu is available. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/xtensa/cpu.h | 17 ++--- hw/xtensa/pic_cpu.c | 2 +- linux-user/xtensa/cpu_loop.c