Re: [PATCH for-6.2 7/8] arch_init.h: Don't include arch_init.h unnecessarily

2021-07-31 Thread Alistair Francis
On Fri, Jul 30, 2021 at 9:04 PM Peter Maydell wrote: > > arch_init.h only defines the QEMU_ARCH_* enumeration and the > arch_type global. Don't include it in files that don't use those. > > Signed-off-by: Peter Maydell Reviewed-by: Alistair Francis Alistair > --- > blockdev.c

Re: [PATCH for-6.2 7/8] arch_init.h: Don't include arch_init.h unnecessarily

2021-07-30 Thread Richard Henderson
On 7/30/21 12:59 AM, Peter Maydell wrote: arch_init.h only defines the QEMU_ARCH_* enumeration and the arch_type global. Don't include it in files that don't use those. Signed-off-by: Peter Maydell --- Reviewed-by: Richard Henderson r~

Re: [PATCH for-6.2 7/8] arch_init.h: Don't include arch_init.h unnecessarily

2021-07-30 Thread Philippe Mathieu-Daudé
On 7/30/21 12:59 PM, Peter Maydell wrote: > arch_init.h only defines the QEMU_ARCH_* enumeration and the > arch_type global. Don't include it in files that don't use those. > > Signed-off-by: Peter Maydell > --- > blockdev.c| 1 - > hw/i386/pc.c | 1 - > hw/i386/pc_p

[PATCH for-6.2 7/8] arch_init.h: Don't include arch_init.h unnecessarily

2021-07-30 Thread Peter Maydell
arch_init.h only defines the QEMU_ARCH_* enumeration and the arch_type global. Don't include it in files that don't use those. Signed-off-by: Peter Maydell --- blockdev.c| 1 - hw/i386/pc.c | 1 - hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 1 - hw/m