Skip to content

Commit 86b5e86

Browse files
0xff07jserv
authored andcommitted
Refine description in request_threaded_irq usage
1 parent 0c3aaac commit 86b5e86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lkmpg.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,8 @@ \subsection{Threaded IRQ}
19571957

19581958
Presence of both handlers is not mandatory.
19591959
If either of them is not needed, pass the \cpp|NULL| instead.
1960-
A \cpp|NULL| top-half handler implicitly means doing nothing but waking up the bottom-half serving thread (for running the bottom-half handler); A \cpp|NULL| bottom-half handler would have the same effect as if \cpp|request_irq()| were used.
1960+
A \cpp|NULL| top-half handler implies that no action is taken except to wake up the bottom-half serving thread, which runs the bottom-half handler.
1961+
Similarly, a \cpp|NULL| bottom-half handler effectively acts as if \cpp|request_irq()| were used.
19611962
In fact, this is how \cpp|request_irq()| is implemented.
19621963

19631964
Note that passing \cpp|NULL| to both handlers is considered an error and will make registration fail.

0 commit comments

Comments
 (0)