summaryrefslogtreecommitdiffstats
path: root/target/xtensa/cpu.h
diff options
context:
space:
mode:
authorIgor Mammedov2018-02-07 11:40:27 +0100
committerEduardo Habkost2018-03-19 18:10:36 +0100
commit3f71e724e283233753f1b5b3d6a30948d3084636 (patch)
treefad301b6899492729c95d41c9b7fbdba88317457 /target/xtensa/cpu.h
parentUse cpu_create(type) instead of cpu_init(cpu_model) (diff)
downloadqemu-3f71e724e283233753f1b5b3d6a30948d3084636.tar.gz
qemu-3f71e724e283233753f1b5b3d6a30948d3084636.tar.xz
qemu-3f71e724e283233753f1b5b3d6a30948d3084636.zip
cpu: get rid of unused cpu_init() defines
cpu_init(cpu_model) were replaced by cpu_create(cpu_type) so no users are left, remove it. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc) Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1518000027-274608-6-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/xtensa/cpu.h')
-rw-r--r--target/xtensa/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h
index 0691c8dcb3..e9d2e109f7 100644
--- a/target/xtensa/cpu.h
+++ b/target/xtensa/cpu.h
@@ -527,8 +527,6 @@ void xtensa_cpu_do_unaligned_access(CPUState *cpu, vaddr addr,
#define XTENSA_DEFAULT_CPU_NOMMU_TYPE \
XTENSA_CPU_TYPE_NAME(XTENSA_DEFAULT_CPU_NOMMU_MODEL)
-#define cpu_init(cpu_model) cpu_generic_init(TYPE_XTENSA_CPU, cpu_model)
-
void xtensa_translate_init(void);
void xtensa_breakpoint_handler(CPUState *cs);
void xtensa_finalize_config(XtensaConfig *config);