Skip to contentSkip to conversation

IP22 fix hang due to messing with timer interrupt handler

PATCH In review Thomas Bogendoerfer 2 participants 2 messages Oct 17, 2007 MIPS

lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

PATCH 1/1 IP22 fix hang due to messing with timer interrupt handler

As IP22 is now using do_IRQ for timer interrupt, don't mess with interrupt handler any longer

---

arch/mips/sgi-ip22/ip22-time.c +0 -9
index 9b9bffd..10e5054 100644
@@ -192,12 +192,3 @@ void indy_8254timer_irq(void)
 	ArcEnterInteractiveMode();
 	irq_exit();
 }
-
-void __init plat_timer_setup(struct irqaction *irq)
-{
-	/* over-write the handler, we use our own way */
-	irq->handler = no_action;
-
-	/* setup irqaction */
-	setup_irq(SGI_TIMER_IRQ, irq);
-}
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]
#1 lore raw
Quoted 2 lines · Thomas Bogendoerfer

As IP22 is now using do_IRQ for timer interrupt, don't mess with interrupt handler any longer

The diffstat of your fix clearly says "apply me" ;-)

Thanks,

Ralf