[POWERPC] 4xx: rework UIC cascade irq handling
authorValentine Barshak <vbarshak@ru.mvista.com>
Thu, 6 Dec 2007 13:48:26 +0000 (00:48 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 23 Dec 2007 19:24:54 +0000 (13:24 -0600)
commit5aac48dc1a7bf0e8c5d01a2d6b16f8063d157649
tree39a5bbb134c02f8779b2faff5851e43189bef33f
parentc80905637efb4af6e58da91fae89ffcb2cf8f1aa
[POWERPC] 4xx: rework UIC cascade irq handling

This is a UIC cascade handler rework to use set_irq_chained_handler() for
cascade, just like othe ppc platforms do. With current implementation we have
additional redirection for irq handler and we call generic_handle_irq twice
(once for the primary uic and the other time for handling cascade interrupt).
This causes Ingo's realtime support patch to stop working on 4xx.

Not sure of any other possible problems though, but with
set_irq_chained_handler() we can abolish "struct irqaction cascade" from the
chip descriptor and call generic_handle_irq() once, directly for cascade irq.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/sysdev/uic.c