aboutsummaryrefslogtreecommitdiffstats
path: root/tools/memory-model
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2021-03-05 11:28:23 +0100
committerPaul E. McKenney <paulmck@kernel.org>2021-05-10 16:27:20 -0700
commitd25fba0e34742f19b5ca307c60c4d260ca5a754a (patch)
treea3c165f39f15d5bb1c1711e5fc72979cc7ada1fc /tools/memory-model
parentLinux 5.13-rc1 (diff)
downloadlinux-dev-d25fba0e34742f19b5ca307c60c4d260ca5a754a.tar.xz
linux-dev-d25fba0e34742f19b5ca307c60c4d260ca5a754a.zip
tools/memory-model: Fix smp_mb__after_spinlock() spelling
A misspelled git-grep regex revealed that smp_mb__after_spinlock() was misspelled in explanation.txt. This commit adds the missing "_". Fixes: 1c27b644c0fd ("Automate memory-barriers.txt; provide Linux-kernel memory model") [ paulmck: Apply Alan Stern commit-log feedback. ] Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/memory-model')
-rw-r--r--tools/memory-model/Documentation/explanation.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/memory-model/Documentation/explanation.txt b/tools/memory-model/Documentation/explanation.txt
index f9d610d5a1a4..5d72f3112e56 100644
--- a/tools/memory-model/Documentation/explanation.txt
+++ b/tools/memory-model/Documentation/explanation.txt
@@ -2510,7 +2510,7 @@ they behave as follows:
smp_mb__after_atomic() orders po-earlier atomic updates and
the events preceding them against all po-later events;
- smp_mb_after_spinlock() orders po-earlier lock acquisition
+ smp_mb__after_spinlock() orders po-earlier lock acquisition
events and the events preceding them against all po-later
events.