alpha: use set_irq_chip and push down __do_IRQ to the machine types
[linux-2.6-microblaze.git] / arch / alpha / kernel / sys_titan.c
index 9008d0f..ffa48e8 100644 (file)
@@ -189,8 +189,8 @@ init_titan_irqs(struct irq_chip * ops, int imin, int imax)
 {
        long i;
        for (i = imin; i <= imax; ++i) {
-               irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL;
-               irq_desc[i].chip = ops;
+               irq_desc[i].status |= IRQ_LEVEL;
+               set_irq_chip_and_handler(i, ops, alpha_do_IRQ);
        }
 }