Skip to content

Commit a5220e7

Browse files
author
Paul E. McKenney
committed
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>
1 parent f188714 commit a5220e7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/memory-model/linux-kernel.def‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ synchronize_rcu_expedited() { __fence{sync-rcu}; }
5151
srcu_read_lock(X) __srcu{srcu-lock}(X)
5252
srcu_read_unlock(X,Y) { __srcu{srcu-unlock}(X,Y); }
5353
synchronize_srcu(X) { __srcu{sync-srcu}(X); }
54+
synchronize_srcu_expedited(X) { __srcu{sync-srcu}(X); }
5455

5556
// Atomic
5657
atomic_read(X) READ_ONCE(*X)

0 commit comments

Comments
 (0)