From: Rusty Russell Date: Mon, 9 Mar 2009 16:06:28 +0000 (-0600) Subject: lguest: fix for CONFIG_SPARSE_IRQ=y X-Git-Tag: v2.6.29-rc8~52^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db6a5f3ae2ca6b874b0fd97ae16fdc9b5cdd6cc;p=pandora-kernel.git lguest: fix for CONFIG_SPARSE_IRQ=y Impact: remove lots of lguest boot WARN_ON() when CONFIG_SPARSE_IRQ=y We now need to call irq_to_desc_alloc_cpu() before set_irq_chip_and_handler_name(), but we can't do that from init_IRQ (no kmalloc available). So do it as we use interrupts instead. Also means we only alloc for irqs we use, which was the intent of CONFIG_SPARSE_IRQ anyway. Signed-off-by: Rusty Russell Cc: Ingo Molnar --- Reading git-diff-tree failed