• F
    [MIPS] Compile __do_IRQ() when really needed · e77c232c
    Franck Bui-Huu 提交于
    __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: NFranck Bui-Huu <fbuihuu@gmail.com>
    Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
    e77c232c
kn02-irq.c 1.9 KB