hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/alpha/kernel/sys_wildfire.c
....@@ -20,7 +20,6 @@
2020 #include <asm/irq.h>
2121 #include <asm/mmu_context.h>
2222 #include <asm/io.h>
23
-#include <asm/pgtable.h>
2423 #include <asm/core_wildfire.h>
2524 #include <asm/hwrpb.h>
2625 #include <asm/tlbflush.h>
....@@ -156,10 +155,6 @@
156155 wildfire_init_irq_per_pca(int qbbno, int pcano)
157156 {
158157 int i, irq_bias;
159
- static struct irqaction isa_enable = {
160
- .handler = no_action,
161
- .name = "isa_enable",
162
- };
163158
164159 irq_bias = qbbno * (WILDFIRE_PCA_PER_QBB * WILDFIRE_IRQ_PER_PCA)
165160 + pcano * WILDFIRE_IRQ_PER_PCA;
....@@ -198,7 +193,8 @@
198193 irq_set_status_flags(i + irq_bias, IRQ_LEVEL);
199194 }
200195
201
- setup_irq(32+irq_bias, &isa_enable);
196
+ if (request_irq(32 + irq_bias, no_action, 0, "isa_enable", NULL))
197
+ pr_err("Failed to register isa_enable interrupt\n");
202198 }
203199
204200 static void __init