aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/scheduler/completion.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/scheduler/completion.rst')
-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 9f039b4f4b09..f19aca2062bd 100644
--- a/Documentation/scheduler/completion.rst
+++ b/Documentation/scheduler/completion.rst
@@ -157,7 +157,7 @@ A typical usage scenario is::
/* run non-dependent code */ /* do setup */
- wait_for_completion(&setup_done); complete(setup_done);
+ wait_for_completion(&setup_done); complete(&setup_done);
This is not implying any particular order between wait_for_completion() and
the call to complete() - if the call to complete() happened before the call