On Sat, 2022-04-30 at 17:05 +0800, Huacai Chen wrote: > +struct acpi_madt_lio_pic; > +struct acpi_madt_eio_pic; > +struct acpi_madt_ht_pic; > +struct acpi_madt_bio_pic; > +struct acpi_madt_msi_pic; > +struct acpi_madt_lpc_pic; Where are those defined? I can't find them and the compilation fails with: arch/loongarch/kernel/irq.c: In function ‘find_pch_pic’: arch/loongarch/kernel/irq.c:48:32: error: invalid use of undefined type ‘struct acpi_madt_bio_pic’ 48 | start = irq_cfg->gsi_base; | ^~ arch/loongarch/kernel/irq.c:49:32: error: invalid use of undefined type ‘struct acpi_madt_bio_pic’ 49 | end = irq_cfg->gsi_base + irq_cfg->size; | ^~ arch/loongarch/kernel/irq.c:49:52: error: invalid use of undefined type ‘struct acpi_madt_bio_pic’ 49 | end = irq_cfg->gsi_base + irq_cfg->size; | ^~ -- Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University