• Franck Bui-Huu's avatar
    [MIPS] Compile __do_IRQ() when really needed · e77c232c
    Franck Bui-Huu authored
    __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: default avatarFranck Bui-Huu <fbuihuu@gmail.com>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    e77c232c
icu.c 16.6 KB