[PATCH] misleading 'trying to free free IRQN'

Oleg Drokin (green@ccssu.ccssu.crimea.ua)
Thu, 19 Aug 1999 22:36:08 +0300


Hello!

Seems that while updating 2.3.14 irq stuff, someone forgot to
implement return path in case irq is really freed.
I think the right patch is this:

--- linux/arch/i386/kernel/irq.c.orig Thu Aug 19 22:04:55 1999
+++ linux/arch/i386/kernel/irq.c Thu Aug 19 22:08:23 1999
@@ -633,6 +633,8 @@
if (!irq_desc[irq].action) {
irq_desc[irq].status |= IRQ_DISABLED;
irq_desc[irq].handler->shutdown(irq);
+ spin_unlock_irqrestore(&irq_controller_lock,flags);
+ return;
}
}
printk("Trying to free free IRQ%d\n",irq);

Bye,
Oleg

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/