Skip to content

Commit 4cfcbdd

Browse files
committed
squash! srcu: Create and srcu_read_lock_nmisafe() and srcu_read_unlock_nmisafe()
[ paulmck: Apply feedback from Randy Dunlap. ] Signed-off-by: Paul E. McKenney <[email protected]>
1 parent f8b389c commit 4cfcbdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/srcu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ int init_srcu_struct(struct srcu_struct *ssp);
5252
#else
5353
/* Dummy definition for things like notifiers. Actual use gets link error. */
5454
struct srcu_struct { };
55+
int __srcu_read_lock_nmisafe(struct srcu_struct *ssp, bool chknmisafe) __acquires(ssp);
56+
void __srcu_read_unlock_nmisafe(struct srcu_struct *ssp, int idx, bool chknmisafe) __releases(ssp);
5557
#endif
5658

5759
void call_srcu(struct srcu_struct *ssp, struct rcu_head *head,

0 commit comments

Comments
 (0)