diff options
| author | Onur Özkan <work@onurozkan.dev> | 2026-06-13 09:40:07 +0300 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-07-15 15:34:25 -0700 |
| commit | a47dea1baa3b445365ad0757e6dee4ef8fde49e6 (patch) | |
| tree | 4881d786cda2f1c5dc29eb1f5ac289c4e08ed762 /scripts/basic | |
| parent | a13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff) | |
| download | linux-a47dea1baa3b445365ad0757e6dee4ef8fde49e6.tar.gz linux-a47dea1baa3b445365ad0757e6dee4ef8fde49e6.zip | |
srcu: make init_srcu_struct() consistently wrap __init_srcu_struct()
Restructure the SRCU initialization functions so it always follows
one direction:
init_srcu_struct() -> __init_srcu_struct() -> lockdep or generic
This uses the same wrapper style as mutex. It avoids the old confusing
style where init_srcu_struct() and __init_srcu_struct() called each
other in different configs. It also helps Rust side to have simpler
helper for SRCU initialization.
Signed-off-by: Onur Özkan <work@onurozkan.dev>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Boqun Feng <boqun@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
