From 13b884e1d78591c302ea4bf429336f8ca49c4b89 Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Thu, 24 Aug 2017 18:31:47 +0200 Subject: 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 Reviewed-by: Eduardo Habkost Message-Id: <1503592308-93913-25-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost --- hw/unicore32/puv3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/unicore32') 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); -- cgit v1.2.3-55-g7522