diff options
| author | Yinghai Lu <[email protected]> | 2008-09-15 01:53:50 -0700 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-10-16 16:53:10 +0200 |
| commit | e00585bb7fc3d0b601181b765a254df7ff4ea59b (patch) | |
| tree | 731d07071f04f54fbf4269912524455e54002858 /include/linux | |
| parent | 56ffa1a028b9fce3860a247c6fe79fce7cbf425b (diff) | |
irq: fix irqpoll && sparseirq
Steven Noonan reported a boot hang when using irqpoll and
CONFIG_HAVE_SPARSE_IRQ=y.
The irqpoll loop needs to be updated to not iterate from 1 to nr_irqs
but to iterate via for_each_irq_desc(). (in the former case desc can
be NULL which crashes the box)
Reported-by: Steven Noonan <[email protected]>
Tested-by: Steven Noonan <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions