[PATCH] genirq: cleanup: remove irq_descp()
[linux-2.6.git] / arch / ia64 / kernel / irq_ia64.c
index 6d8fc94..f503530 100644 (file)
@@ -249,7 +249,7 @@ register_percpu_irq (ia64_vector vec, struct irqaction *action)
 
        for (irq = 0; irq < NR_IRQS; ++irq)
                if (irq_to_vector(irq) == vec) {
-                       desc = irq_descp(irq);
+                       desc = irq_desc + irq;
                        desc->status |= IRQ_PER_CPU;
                        desc->chip = &irq_type_ia64_lsapic;
                        if (action)