9 #include <linux/kernel.h>
10 #include <linux/sched.h>
32 static struct irq_chip irq_type_hp_sim = {
34 .irq_startup = hpsim_irq_startup,
35 .irq_shutdown = hpsim_irq_noop,
36 .irq_enable = hpsim_irq_noop,
37 .irq_disable = hpsim_irq_noop,
38 .irq_ack = hpsim_irq_noop,
39 .irq_set_affinity = hpsim_set_affinity_noop,
42 static void hpsim_irq_set_chip(
int irq)
50 static void hpsim_connect_irq(
int intr,
int irq)
60 hpsim_irq_set_chip(irq);
62 hpsim_connect_irq(intr, irq);
73 for_each_active_irq(i)
74 hpsim_irq_set_chip(i);