'\" t .\" Title: synchronize_irq .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SYNCHRONIZE_IRQ" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * 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" synchronize_irq \- wait for pending IRQ handlers (on other CPUs) .SH "SYNOPSIS" .HP \w'void\ synchronize_irq('u .BI "void synchronize_irq(unsigned\ int\ " "irq" ");" .SH "ARGUMENTS" .PP \fIirq\fR .RS 4 interrupt number to wait for .RE .SH "DESCRIPTION" .PP 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\&. .SH "COPYRIGHT" .br