]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: scheduler: completion: Update member of struct completion
authorI Hsin Cheng <richard120310@gmail.com>
Wed, 28 Aug 2024 16:50:36 +0000 (00:50 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 5 Sep 2024 20:17:45 +0000 (14:17 -0600)
The member "wait" in struct completion isn't of type wait_queue_head_t
anymore, as it is now "struct swait_queue_head", fix it to match with
the current implementation.

Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240828165036.178011-1-richard120310@gmail.com
Documentation/scheduler/completion.rst

index f19aca2062bd1f8556e7558c1c2b5c32487894dc..adf0c0a56d02007b22fcaa5d53ef07a77e76a068 100644 (file)
@@ -51,7 +51,7 @@ which has only two fields::
 
        struct completion {
                unsigned int done;
-               wait_queue_head_t wait;
+               struct swait_queue_head wait;
        };
 
 This provides the ->wait waitqueue to place tasks on for waiting (if any), and