[MIPS] Compile __do_IRQ() when really needed
authorFranck Bui-Huu <fbuihuu@gmail.com>
Fri, 1 Dec 2006 17:22:27 +0000 (18:22 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 6 Dec 2006 20:16:08 +0000 (20:16 +0000)
__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 <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found