---
name: "free_irq"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/free_irq"
---

# free\_irq(9)

free an interrupt allocated with request\_irq

## NAME

free\_irq - free an interrupt allocated with request\_irq

## 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 must not be called from interrupt context.

## AUTHORS

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

**Ingo Molnar** \<mingo@elte.hu\>

Author.

## COPYRIGHT
