Skip to content

Commit

Permalink
kernel: interrupts: Use the ksym macro when defining a kernel type
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
  • Loading branch information
miquelraynal committed Jun 22, 2021
1 parent b740303 commit fdf283f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labs/kernel-serial-interrupt/kernel-serial-interrupt.tex
Expand Up @@ -131,7 +131,7 @@ \section{Sleeping, waking up and communication}
available for reading (i.e, if \code{buf_wr} is equal to
\code{buf_rd})? We should put the process to sleep!

To do so, add a \code{wait_queue_head_t} wait queue to our
To do so, add a \ksym{wait_queue_head_t} wait queue to our
\code{serial_dev} structure, named for example \code{wait}. In the
\code{read()} function, keep things simple by directly using
\kfunc{wait_event_interruptible} right from the start, to wait until
Expand Down

0 comments on commit fdf283f

Please sign in to comment.