Skip to content

Commit 918e87e

Browse files
authored
Merge pull request #296 from EricccTaiwan/fix-2
Fix grammar in IRQ flag usage description
2 parents c65f633 + 75071ec commit 918e87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lkmpg.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ \subsection{Interrupt Handlers}
19831983
Usually there is a certain number of IRQs available.
19841984
How many IRQs there are is hardware-dependent.
19851985

1986-
The flags can be used for specify behaviors of the IRQ.
1986+
The flags can be used to specify behaviors of the IRQ.
19871987
For example, use \cpp|IRQF_SHARED| to indicate you are willing to share the IRQ with other interrupt handlers (usually because a number of hardware devices sit on the same IRQ); use the \cpp|IRQF_ONESHOT| to indicate that the IRQ is not reenabled after the handler finished.
19881988
It should be noted that in some materials, you may encounter another set of IRQ flags named with the \cpp|SA| prefix.
19891989
For example, the \cpp|SA_SHIRQ| and the \cpp|SA_INTERRUPT|.

0 commit comments

Comments
 (0)