mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
tools/memory-model: Add support for synchronize_srcu_expedited()
Given that synchronize_rcu_expedited() is supported, this commit adds support for synchronize_srcu_expedited(). Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Acked-by: Andrea Parri <andrea.parri@amarulasolutions.com>
This commit is contained in:
parent
f1887143f5
commit
a5220e7d2e
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ synchronize_rcu_expedited() { __fence{sync-rcu}; }
|
||||||
srcu_read_lock(X) __srcu{srcu-lock}(X)
|
srcu_read_lock(X) __srcu{srcu-lock}(X)
|
||||||
srcu_read_unlock(X,Y) { __srcu{srcu-unlock}(X,Y); }
|
srcu_read_unlock(X,Y) { __srcu{srcu-unlock}(X,Y); }
|
||||||
synchronize_srcu(X) { __srcu{sync-srcu}(X); }
|
synchronize_srcu(X) { __srcu{sync-srcu}(X); }
|
||||||
|
synchronize_srcu_expedited(X) { __srcu{sync-srcu}(X); }
|
||||||
|
|
||||||
// Atomic
|
// Atomic
|
||||||
atomic_read(X) READ_ONCE(*X)
|
atomic_read(X) READ_ONCE(*X)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue