diff options
author | Igor Mammedov <imammedo@redhat.com> | 2017-08-24 18:31:45 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2017-09-01 11:54:25 -0300 |
commit | a328ad964774ce3043dade8c9870139f127a3372 (patch) | |
tree | 22deb63bb4c8ff2bef35cb4cf303c1b731be746a /hw/moxie | |
parent | 1d197417a31d74b5b875addd1837343e3ea7d5f2 (diff) |
moxie: replace cpu_moxie_init() with cpu_generic_init()
it's just a wrapper, drop it and use cpu_generic_init() directly
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <1503592308-93913-23-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/moxie')
-rw-r--r-- | hw/moxie/moxiesim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c index df3f1249ae..4c27b45c46 100644 --- a/hw/moxie/moxiesim.c +++ b/hw/moxie/moxiesim.c @@ -118,7 +118,7 @@ static void moxiesim_init(MachineState *machine) if (cpu_model == NULL) { cpu_model = "MoxieLite-moxie-cpu"; } - cpu = cpu_moxie_init(cpu_model); + cpu = MOXIE_CPU(cpu_generic_init(TYPE_MOXIE_CPU, cpu_model)); if (!cpu) { fprintf(stderr, "Unable to find CPU definition\n"); exit(1); |