.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DISABLE_IRQ" "" "06 October 2005" "" "" .SH NAME disable_irq \- disable an irq and wait for completion .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void disable_irq (unsigned int \fIirq\fB); \fR .SH "ARGUMENTS" .TP \fB\fIirq\fB\fR Interrupt to disable .SH "DESCRIPTION" .PP Disable the selected interrupt line. Disables of an interrupt stack. That is for two disables you need two enables. 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. .PP This function may be called - with care - from IRQ context.