linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix typo of documentation.
@ 2021-05-24  4:43 hitzhangjie
  0 siblings, 0 replies; only message in thread
From: hitzhangjie @ 2021-05-24  4:43 UTC (permalink / raw)
  To: linux-arch; +Cc: hit.zhangjie

the function `smp_mb_after_spinlock` should be `smp_mb__after_spinlock`.

Signed-off-by: hitzhangjie <hit.zhangjie@gmail.com>
---
 tools/memory-model/Documentation/explanation.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/memory-model/Documentation/explanation.txt b/tools/memory-model/Documentation/explanation.txt
index f9d610d5a..5d72f3112 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.
 
-- 
2.30.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-24  4:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24  4:43 [PATCH] fix typo of documentation hitzhangjie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).