Skip to contentSkip to conversation

fix typo of documentation.

PATCH New hitzhangjie 1 participant 1 message May 24, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix typo of documentation.

the function smp_mb_after_spinlock should be smp_mb__after_spinlock.

---
 tools/memory-model/Documentation/explanation.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/memory-model/Documentation/explanation.txt +1 -1
index f9d610d5a..5d72f3112 100644
@@ -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.
 
Signature · 1 line
2.30.1