Skip to contentSkip to conversation

Update intc.c and irq code

PATCH New [email protected] 1 participant 1 message Mar 20, 2009 Microblaze architecture

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 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

---
 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
index a2df3f8..cca0b3c 100644
@@ -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
index ff2d29f..29f0b3e 100644
@@ -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