'\" t .\" Title: free_irq .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Public Functions Provided .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "FREE_IRQ" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Public Functions Provided" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" free_irq \- free an interrupt allocated with request_irq .SH "SYNOPSIS" .HP \w'void\ free_irq('u .BI "void free_irq(unsigned\ int\ " "irq" ", void\ *\ " "dev_id" ");" .SH "ARGUMENTS" .PP \fIunsigned int irq\fR .RS 4 Interrupt line to free .RE .PP \fIvoid * dev_id\fR .RS 4 Device identity to free .RE .SH "DESCRIPTION" .PP 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\&. .PP This function must not be called from interrupt context\&. .SH "AUTHORS" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .PP \fBIngo Molnar\fR <\&mingo@elte.hu\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br