summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2015-09-14 17:11:05 -0600
committerBen Hutchings <ben@decadent.org.uk>2019-05-22 23:15:06 +0100
commit37a585a403b3cd6905d67e8bc70000f3bb90ac48 (patch)
treee60101a562dc379905b6b73486fcae1b8c7bed56 /Documentation
parentb55c75832bf6c2f672d7f830a4ebefebc271e331 (diff)
downloadlinux-stable-37a585a403b3cd6905d67e8bc70000f3bb90ac48.tar.gz
linux-stable-37a585a403b3cd6905d67e8bc70000f3bb90ac48.tar.bz2
linux-stable-37a585a403b3cd6905d67e8bc70000f3bb90ac48.zip
locking/static_keys: Fix up the static keys documentation
commit 1975dbc276c6ab62230cf4f9df5ddc9ff0e0e473 upstream. Fix a few small mistakes in the static key documentation and delete an unneeded sentence. Suggested-by: Jason Baron <jbaron@akamai.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20150914171105.511e1e21@lwn.net Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/static-keys.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/static-keys.txt b/Documentation/static-keys.txt
index ec911583f6c5..477927becacb 100644
--- a/Documentation/static-keys.txt
+++ b/Documentation/static-keys.txt
@@ -15,8 +15,8 @@ The updated API replacements are:
DEFINE_STATIC_KEY_TRUE(key);
DEFINE_STATIC_KEY_FALSE(key);
-static_key_likely()
-static_key_unlikely()
+static_branch_likely()
+static_branch_unlikely()
0) Abstract