commit | e00585bb7fc3d0b601181b765a254df7ff4ea59b | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yhlu.kernel@gmail.com> | Mon Sep 15 01:53:50 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Oct 16 16:53:10 2008 +0200 |
tree | 731d07071f04f54fbf4269912524455e54002858 | |
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>