.\" 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 "PROBE_IRQ_OFF" "" "06 October 2005" "" ""
.SH NAME
probe_irq_off \- end an interrupt autodetect
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int probe_irq_off (unsigned long \fIval\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIval\fB\fR
mask of potential interrupts (unused)
.SH "DESCRIPTION"
.PP
Scans the unused interrupt lines and returns the line which
appears to have triggered the interrupt. If no interrupt was
found then zero is returned. If more than one interrupt is
found then minus the first candidate is returned to indicate
their is doubt.
.PP
The interrupt probe logic state is returned to its previous
value.
.SH "BUGS"
.PP
When used in a module (which arguably shouldnt happen)
nothing prevents two IRQ probe callers from overlapping. The
results of this are non-optimal.