[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 5/6] Remove unnecessary usage of arch_init.h
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v2 5/6] Remove unnecessary usage of arch_init.h |
Date: |
Fri, 27 Nov 2020 13:23:10 +0100 |
On Wed, 25 Nov 2020 15:56:35 -0500
Eduardo Habkost <ehabkost@redhat.com> wrote:
> The only declarations in arch_init.h are the `arch_type` variable
> and the QEMU_ARCH_* constants. Stop including arch_init.h from
> code that don't use neither.
>
> Patch generated automatically using the command:
>
> $ sed -i -e '/#include "sysemu.arch_init.h"/d' \
> $(comm -23 \
> <(git grep -l arch_init.h | sort) \
> <((git grep -l -w 'arch_type'; g grep -l QEMU_ARCH;) | sort -u))
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Cc: Richard Henderson <richard.henderson@linaro.org>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Eduardo Habkost <ehabkost@redhat.com>
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
> Cc: "Hervé Poussineau" <hpoussin@reactos.org>
> Cc: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
> Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
> Cc: Aurelien Jarno <aurelien@aurel32.net>
> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
> Cc: David Gibson <david@gibson.dropbear.id.au>
> Cc: Palmer Dabbelt <palmer@dabbelt.com>
> Cc: Alistair Francis <Alistair.Francis@wdc.com>
> Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
> Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
> Cc: Markus Armbruster <armbru@redhat.com>
> Cc: David Hildenbrand <david@redhat.com>
> Cc: Cornelia Huck <cohuck@redhat.com>
> Cc: Thomas Huth <thuth@redhat.com>
> Cc: Halil Pasic <pasic@linux.ibm.com>
> Cc: Christian Borntraeger <borntraeger@de.ibm.com>
> Cc: qemu-devel@nongnu.org
> Cc: qemu-ppc@nongnu.org
> Cc: qemu-riscv@nongnu.org
> Cc: qemu-s390x@nongnu.org
> ---
> accel/accel.c | 1 -
> hw/i386/pc.c | 1 -
> hw/i386/pc_piix.c | 1 -
> hw/i386/pc_q35.c | 1 -
> hw/mips/jazz.c | 1 -
> hw/mips/malta.c | 1 -
> hw/ppc/prep.c | 1 -
> hw/riscv/sifive_e.c | 1 -
> hw/riscv/sifive_u.c | 1 -
> hw/riscv/spike.c | 1 -
> hw/riscv/virt.c | 1 -
> monitor/qmp-cmds.c | 1 -
> target/i386/cpu.c | 1 -
> target/s390x/cpu.c | 1 -
> target/s390x/cpu_models.c | 1 -
> target/ppc/translate_init.c.inc | 1 -
> 16 files changed, 16 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>