---
name: "disable_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/disable_irq"
---

# disable\_irq(9)

disable an irq and wait for completion

## NAME

disable\_irq - disable an irq and wait for completion

## SYNOPSIS

**void disable\_irq(unsigned int** *irq***);**

## ARGUMENTS

*irq*

Interrupt to disable

## DESCRIPTION

Disable the selected interrupt line. Enables and Disables are nested. This function waits for any pending IRQ handlers for this interrupt to complete before returning. If you use this function while holding a resource the IRQ handler may need you will deadlock.

This function may be called - with care - from IRQ context.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
