From: I Hsin Cheng Date: Wed, 28 Aug 2024 16:50:36 +0000 (+0800) Subject: docs: scheduler: completion: Update member of struct completion X-Git-Tag: v6.12-rc1~173^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=34ea875cca2c2fa4ec8b70fc2b21ee6c7878740e;p=thirdparty%2Fkernel%2Flinux.git docs: scheduler: completion: Update member of struct completion 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 Reviewed-by: Kuan-Wei Chiu Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20240828165036.178011-1-richard120310@gmail.com --- diff --git a/Documentation/scheduler/completion.rst b/Documentation/scheduler/completion.rst index f19aca2062bd1..adf0c0a56d020 100644 --- a/Documentation/scheduler/completion.rst +++ b/Documentation/scheduler/completion.rst @@ -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