These 2 patches provide a means to eliminate plat_irq_dispatch() on platforms that can do without it. Patch #1 adds a new config symbol which, when set, calls a generic MIPS irq dispatcher. All interrupts controllers hanging off these interrupts must be registered as chain handlers. Patch #2 implements the above on Alchemy. Tested on various DB1xxx boards, with and without the C0 timer. Finally, all credits should go to Ralf as he suggested the idea to me. Please share your comments, Manuel Lauss Manuel Lauss (2): MIPS: add option to the rid of plat_irq_dispatch MIPS: Alchemy: make ICs chained handler of MIPS ints. arch/mips/Kconfig | 4 +++ arch/mips/alchemy/common/irq.c | 55 ++++++++++++++-------------------------- arch/mips/kernel/genex.S | 4 +++ arch/mips/kernel/irq_cpu.c | 7 +++++ 4 files changed, 34 insertions(+), 36 deletions(-) -- 1.7.6