alpha: use set_irq_chip and push down __do_IRQ to the machine types
Also kill superfluous IRQ_DISABLED initialization, since that's the default state of the irq_desc[i].status field. Tested-by: Michael Cree <mcree@orcon.net.nz> Signed-off-by: Kyle McMartin <kyle@redhat.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:

committed by
Matt Turner

parent
e78bf5e6cb
commit
d5ccde0a64
@@ -122,8 +122,9 @@ common_init_irq(void (*srm_dev_int)(unsigned long v))
|
||||
outb(0xff, 0x806);
|
||||
|
||||
for (i = 16; i < 35; ++i) {
|
||||
irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL;
|
||||
irq_desc[i].chip = &cabriolet_irq_type;
|
||||
set_irq_chip_and_handler(i, &cabriolet_irq_type,
|
||||
alpha_do_IRQ);
|
||||
irq_desc[i].status |= IRQ_LEVEL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user