From 1d197417a31d74b5b875addd1837343e3ea7d5f2 Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Thu, 24 Aug 2017 18:31:44 +0200 Subject: lm32: replace cpu_lm32_init() with cpu_generic_init() it's just a wrapper, drop it and use cpu_generic_init() directly Signed-off-by: Igor Mammedov Acked-by: Michael Walle Reviewed-by: Eduardo Habkost Message-Id: <1503592308-93913-22-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost --- hw/lm32/milkymist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/lm32/milkymist.c') diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c index 5cae0f19dd..dffd8797bb 100644 --- a/hw/lm32/milkymist.c +++ b/hw/lm32/milkymist.c @@ -111,7 +111,7 @@ milkymist_init(MachineState *machine) if (cpu_model == NULL) { cpu_model = "lm32-full"; } - cpu = cpu_lm32_init(cpu_model); + cpu = LM32_CPU(cpu_generic_init(TYPE_LM32_CPU, cpu_model)); if (cpu == NULL) { fprintf(stderr, "qemu: unable to find CPU '%s'\n", cpu_model); exit(1); -- cgit v1.2.3