diff options
Diffstat (limited to 'hw/lm32/milkymist.c')
-rw-r--r-- | hw/lm32/milkymist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |