Re: PCI PM: Restore standard config registers of all devices early

From: Ingo Molnar
Date: Mon Feb 02 2009 - 18:49:50 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Ingo: how do we walk over all the interrupt descriptors in todays world?
> The whole sparse-vs-nonsparse makes things a bit more complex.

this:

struct irq_desc *desc;
int irq;

for_each_irq_desc(i, desc) {
...
}

should do the trick.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/