1
0
mirror of https://github.com/bashrc/LKMPG.git synced 2018-06-11 03:06:54 +02:00
This commit is contained in:
Bob Mottram
2017-05-16 19:03:22 +01:00
parent 57cb7913a1
commit 7b72c22dc7
2 changed files with 281 additions and 281 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3553,7 +3553,7 @@ MODULE_DESCRIPTION("Handle some GPIO interrupts");
** Bottom Half ** Bottom Half
Suppose you want to do a bunch of stuff inside of an interrupt routine. A common way to do that without rendering the interrupt unavailable for a significant duration is to combine it with a tasklet. This pushes the bulk of the work off into the scheduler. Suppose you want to do a bunch of stuff inside of an interrupt routine. A common way to do that without rendering the interrupt unavailable for a significant duration is to combine it with a tasklet. This pushes the bulk of the work off into the scheduler.
This modifies the previous example to also run an additional task when an interrupt is triggered. The example below modifies the previous example to also run an additional task when an interrupt is triggered.
#+begin_src C file:bottomhalf.c #+begin_src C file:bottomhalf.c
/* /*