Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

I Hsin Cheng and committed by
Jonathan Corbet
34ea875c 93292980

+1 -1
+1 -1
Documentation/scheduler/completion.rst
··· 51 51 52 52 struct completion { 53 53 unsigned int done; 54 - wait_queue_head_t wait; 54 + struct swait_queue_head wait; 55 55 }; 56 56 57 57 This provides the ->wait waitqueue to place tasks on for waiting (if any), and