diff options
| author | Igor Mammedov | 2017-08-24 18:31:47 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2017-09-01 16:54:25 +0200 |
| commit | 13b884e1d78591c302ea4bf429336f8ca49c4b89 (patch) | |
| tree | f624adf0871f0e542a720d8521cb99ca62ae765c /hw/unicore32 | |
| parent | openrisc: replace cpu_openrisc_init() with cpu_generic_init() (diff) | |
| download | qemu-13b884e1d78591c302ea4bf429336f8ca49c4b89.tar.gz qemu-13b884e1d78591c302ea4bf429336f8ca49c4b89.tar.xz qemu-13b884e1d78591c302ea4bf429336f8ca49c4b89.zip | |
unicore32: replace uc32_cpu_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-25-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/unicore32')
| -rw-r--r-- | hw/unicore32/puv3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/unicore32/puv3.c b/hw/unicore32/puv3.c index ff62efb4df..eb9862fa2f 100644 --- a/hw/unicore32/puv3.c +++ b/hw/unicore32/puv3.c @@ -127,7 +127,7 @@ static void puv3_init(MachineState *machine) cpu_model = "UniCore-II"; } - cpu = uc32_cpu_init(cpu_model); + cpu = UNICORE32_CPU(cpu_generic_init(TYPE_UNICORE32_CPU, cpu_model)); if (!cpu) { error_report("Unable to find CPU definition"); exit(1); |
