summaryrefslogtreecommitdiff
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorI Hsin Cheng <richard120310@gmail.com>2024-08-29 00:50:36 +0800
committerJonathan Corbet <corbet@lwn.net>2024-09-05 14:17:45 -0600
commit34ea875cca2c2fa4ec8b70fc2b21ee6c7878740e (patch)
tree43a4e0ba164f859dfa5bc7b0d532f2292fd2da29 /Documentation/scheduler
parent93292980f390b9245d8e3ce9b0b6c94ee45be217 (diff)
downloadlwn-34ea875cca2c2fa4ec8b70fc2b21ee6c7878740e.tar.gz
lwn-34ea875cca2c2fa4ec8b70fc2b21ee6c7878740e.zip
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 <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
Diffstat (limited to 'Documentation/scheduler')
-rw-r--r--Documentation/scheduler/completion.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/scheduler/completion.rst b/Documentation/scheduler/completion.rst
index f19aca2062bd..adf0c0a56d02 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