]> www.infradead.org Git - users/dwmw2/qemu.git/commit
xtensa: replace cpu_xtensa_init() with cpu_generic_init()
authorIgor Mammedov <imammedo@redhat.com>
Thu, 24 Aug 2017 16:31:38 +0000 (18:31 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 1 Sep 2017 14:54:24 +0000 (11:54 -0300)
commit8e36271b9246a088007ee93ff065ea5db611f900
tree9efa2aa825cc4f5a079f5a3e2fd448f57ea8a667
parent12f4572ec3acde40255328dad60fd8c03281c648
xtensa: replace cpu_xtensa_init() with cpu_generic_init()

call xtensa_irq_init() at realize time which makes
cpu_xtensa_init() like generic cpu creation function.
As result we can replace it with cpu_generic_init()
which does the same job, reducing code duplication a bit.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1503592308-93913-16-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/xtensa/sim.c
hw/xtensa/xtfpga.c
target/xtensa/cpu.c
target/xtensa/cpu.h
target/xtensa/helper.c