diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-15 01:53:50 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:53:10 +0200 |
commit | e00585bb7fc3d0b601181b765a254df7ff4ea59b (patch) | |
tree | 731d07071f04f54fbf4269912524455e54002858 /arch | |
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 <steven@uplinklabs.net>
Tested-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions