]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/loongarch/virt.c
hw/intc/loongarch_ipi: Rename as loongson_ipi
[thirdparty/qemu.git] / hw / loongarch / virt.c
index 51e0aca39b5da2a206f7a649f6de12debffd88d4..852036467ab21bfa59869fa75cc8538262f5aeda 100644 (file)
@@ -21,7 +21,7 @@
 #include "net/net.h"
 #include "hw/loader.h"
 #include "elf.h"
-#include "hw/intc/loongarch_ipi.h"
+#include "hw/intc/loongson_ipi.h"
 #include "hw/intc/loongarch_extioi.h"
 #include "hw/intc/loongarch_pch_pic.h"
 #include "hw/intc/loongarch_pch_msi.h"
@@ -695,7 +695,7 @@ static void virt_irq_init(LoongArchVirtMachineState *lvms)
      */
 
     /* Create IPI device */
-    ipi = qdev_new(TYPE_LOONGARCH_IPI);
+    ipi = qdev_new(TYPE_LOONGSON_IPI);
     qdev_prop_set_uint32(ipi, "num-cpu", ms->smp.cpus);
     sysbus_realize_and_unref(SYS_BUS_DEVICE(ipi), &error_fatal);