Commit e145f8db authored by Russell King's avatar Russell King

[PATCH] free_irq

Fix free_irq() comment - it definitely is not callable
from interrupt context..
parent 6c00c6cc
...@@ -484,10 +484,7 @@ int request_irq(unsigned int irq, ...@@ -484,10 +484,7 @@ int request_irq(unsigned int irq,
* does not return until any executing interrupts for this IRQ * does not return until any executing interrupts for this IRQ
* have completed. * have completed.
* *
* This function may be called from interrupt context. * This function must not be called from interrupt context.
*
* Bugs: Attempting to free an irq in a handler for the same irq hangs
* the machine.
*/ */
void free_irq(unsigned int irq, void *dev_id) void free_irq(unsigned int irq, void *dev_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment