From: Yinghai Lu Date: Mon, 15 Sep 2008 08:53:50 +0000 (-0700) Subject: irq: fix irqpoll && sparseirq X-Git-Tag: v2.6.28-rc1~80^2~37 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e00585bb7fc3d0b601181b765a254df7ff4ea59b;p=pandora-kernel.git 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 Tested-by: Steven Noonan Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed