free_irq

Section: Kernel Hacker's Manual (9)
Updated: free_irq
Index Return to Main Contents
 

NAME

free_irq - free an interrupt  

SYNOPSIS

void free_irq (unsigned int irq, void *dev_id);  

ARGUMENTS

irq

 Interrupt line to free
dev_id

 Device identity to free
 

DESCRIPTION

Remove an interrupt handler. The handler is removed and if the interrupt line is no longer in use by any driver it is disabled. On a shared IRQ the caller must ensure the interrupt is disabled on the card it drives before calling this function. The function does not return until any executing interrupts for this IRQ have completed.

This function may be called from interrupt context.  

BUGS


 Attempting to free an irq in a handler for the same irq hangs the machine.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
BUGS

This document was created by man2html, using the manual pages.
Time: 03:15:44 GMT, June 12, 2005