From: Franck Bui-Huu Date: Fri, 1 Dec 2006 17:22:27 +0000 (+0100) Subject: [MIPS] Compile __do_IRQ() when really needed X-Git-Tag: v2.6.20-rc1~34^2~20^2~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e77c232cfc6e1250b2916a7c69225d6634d05a49;p=pandora-kernel.git [MIPS] Compile __do_IRQ() when really needed __do_IRQ() is needed only by irq handlers that can't use default handlers defined in kernel/irq/chip.c. For others platforms there's no need to compile this function since it won't be used. For those platforms this patch defines GENERIC_HARDIRQS_NO__DO_IRQ symbol which is used exactly for this purpose. Futhermore for platforms which do not use __do_IRQ(), end() method which is part of the 'irq_chip' structure is not used. This patch simply removes this method in this case. Signed-off-by: Franck Bui-Huu Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed