hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/mips/sni/pcit.c
....@@ -244,7 +244,9 @@
244244 *(volatile u32 *)SNI_PCIT_INT_REG = 0;
245245 sni_hwint = sni_pcit_hwint;
246246 change_c0_status(ST0_IM, IE_IRQ1);
247
- setup_irq(SNI_PCIT_INT_START + 6, &sni_isa_irq);
247
+ if (request_irq(SNI_PCIT_INT_START + 6, sni_isa_irq_handler, 0, "ISA",
248
+ NULL))
249
+ pr_err("Failed to register ISA interrupt\n");
248250 }
249251
250252 void __init sni_pcit_cplus_irq_init(void)
....@@ -257,7 +259,9 @@
257259 *(volatile u32 *)SNI_PCIT_INT_REG = 0x40000000;
258260 sni_hwint = sni_pcit_hwint_cplus;
259261 change_c0_status(ST0_IM, IE_IRQ0);
260
- setup_irq(MIPS_CPU_IRQ_BASE + 3, &sni_isa_irq);
262
+ if (request_irq(MIPS_CPU_IRQ_BASE + 3, sni_isa_irq_handler, 0, "ISA",
263
+ NULL))
264
+ pr_err("Failed to register ISA interrupt\n");
261265 }
262266
263267 void __init sni_pcit_init(void)