Update intc.c and irq code
[email protected]
maintainerPATCH 1/1 Update intc.c and irq code
From: Michal Simek <[email protected]>
This patch add support for use generic_handle_irq
instead of __do_IRQ. There were necessary to do
more changes in intc.c code -> especially changes
in irq_chip function
Signed-off-by Michal Simek <[email protected]>
--- arch/microblaze/Kconfig | 3 + arch/microblaze/kernel/intc.c | 169 +++++++++++++++++++++++++++++++++++++++++ arch/microblaze/kernel/irq.c | 2 +- 3 files changed, 173 insertions(+), 1 deletions(-) create mode 100644 arch/microblaze/kernel/intc.c
arch/microblaze/Kconfig +3 -0
@@ -46,6 +46,9 @@ config GENERIC_TIME_VSYSCALL config GENERIC_CLOCKEVENTS def_bool y +config GENERIC_HARDIRQS_NO__DO_IRQ + def_bool y + config PCI depends on !MMU def_bool n
arch/microblaze/kernel/intc.c new file +169 -0
169 lines not on this page · raw message
arch/microblaze/kernel/irq.c +1 -1
@@ -48,7 +48,7 @@ void do_IRQ(struct pt_regs *regs) irq =get_irq (regs); next_irq:BUG_ON (irq ==-1U ); -__do_IRQ (irq); +generic_handle_irq (irq); irq =get_irq (regs);if (irq !=-1U ) {
Signature · 1 line
1.5.5.1