linux/kernel/irq
Yinghai Lu e00585bb7f 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>
2008-10-16 16:53:10 +02:00
..
autoprobe.c irq: sparse irqs, fix IRQ auto-probe crash 2008-10-16 16:52:30 +02:00
chip.c irq: set_irq_chip() has redundant call to irq_to_desc() 2008-10-16 16:53:07 +02:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c sparseirq: move kstat_irqs from kstat to irq_desc - fix 2008-10-16 16:53:04 +02:00
internals.h irq: replace loop with nr_irqs with for_each_irq_desc 2008-10-16 16:52:33 +02:00
Makefile [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
manage.c x86: HPET_MSI change IRQ affinity in process context when it is disabled 2008-10-16 16:53:07 +02:00
migration.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
proc.c irq: replace loop with nr_irqs with for_each_irq_desc 2008-10-16 16:52:33 +02:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c irq: fix irqpoll && sparseirq 2008-10-16 16:53:10 +02:00