From: Yinghai Lu Date: Wed, 20 Aug 2008 03:50:05 +0000 (-0700) Subject: generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] X-Git-Tag: v2.6.28-rc1~80^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08678b0841267c1d00d771fe01548d86043d065e;p=pandora-kernel.git generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] add CONFIG_HAVE_SPARSE_IRQ to for use condensed array. Get rid of irq_desc[] array assumptions. Preallocate 32 irq_desc, and irq_desc() will try to get more. ( No change in functionality is expected anywhere, except the odd build failure where we missed a code site or where a crossing commit itroduces new irq_desc[] usage. ) v2: according to Eric, change get_irq_desc() to irq_desc() Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed