summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorOnur Özkan <work@onurozkan.dev>2026-06-13 09:40:09 +0300
committerPaul E. McKenney <paulmck@kernel.org>2026-07-15 15:34:25 -0700
commit91d5185187e97611e328d03ee5e00e54b5d6d2b0 (patch)
tree3e694b975218dbc5cb00ac042089447bab0eee06 /scripts/objdiff
parent8f63d947bedfddefeb1c10f1dfc36f16407ce22c (diff)
downloadlinux-91d5185187e97611e328d03ee5e00e54b5d6d2b0.tar.gz
linux-91d5185187e97611e328d03ee5e00e54b5d6d2b0.zip
srcu: expose srcu_readers_active()
This is needed by rust/helpers/srcu.c which now adds rust_helper_srcu_readers_active() as a wrapper around the SRCU helper for Rust callers. To achive this: 1- Move the srcu_readers_active() implementation from "kernel/rcu/srcutree.c" to "include/linux/srcutree.h". 2- Implement a matching srcu_readers_active() in "include/linux/srcutiny.h" and use it on the existing open-coded WARN_ON() check in cleanup_srcu_struct(). 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/objdiff')
0 files changed, 0 insertions, 0 deletions