From 7e646b83bddee90df87c607a96286c4f2290f20d Mon Sep 17 00:00:00 2001 From: Teodora Serbanescu Date: Tue, 3 Mar 2020 16:25:53 +0200 Subject: [PATCH] Documentation: teaching: labs: kernel_api: Fix typos in exercises --- Documentation/teaching/labs/kernel_api.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/teaching/labs/kernel_api.rst b/Documentation/teaching/labs/kernel_api.rst index 1d961313b45bad..d356c1010031e7 100644 --- a/Documentation/teaching/labs/kernel_api.rst +++ b/Documentation/teaching/labs/kernel_api.rst @@ -658,7 +658,7 @@ cause of the error? :c:macro:`set_current_state` macro, forces the current process to wait for 5 seconds. -.. note:: Review the `Contexts of execution`_, `Locking` and `Spinlock`_ +.. note:: Review the `Contexts of execution`_, `Locking`_ and `Spinlock`_ sections. 3. Working with kernel memory @@ -706,9 +706,10 @@ free them (in :c:func:`memory_exit`). process. .. hint:: - Call 2 times the :c:macro:`next_task`. + Call the :c:macro:`next_task` macro 2 times. 3. (TODO 3) Display the four structures. + * Use :c:func:`printk` to display their two fields: :c:member:`pid` and :c:member:`timestamp`.