[PATCH] genirq: cleanup: remove irq_descp()
[linux-2.6.git] / arch / powerpc / kernel / crash.c
index 1bfad7c..22ceba8 100644 (file)
@@ -190,7 +190,7 @@ void default_machine_crash_shutdown(struct pt_regs *regs)
        local_irq_disable();
 
        for_each_irq(irq) {
-               struct irq_desc *desc = irq_descp(irq);
+               struct irq_desc *desc = irq_desc + irq;
 
                if (desc->status & IRQ_INPROGRESS)
                        desc->chip->end(irq);