]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: helpers: Generify the definitions of rust_helper_*_{read,set}*
authorBoqun Feng <boqun.feng@gmail.com>
Tue, 3 Mar 2026 20:16:51 +0000 (12:16 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Sun, 8 Mar 2026 10:06:48 +0000 (11:06 +0100)
commitecc8e9fbaac35c8e5cced26f740f846506c4737b
tree745a9a964787a9b880714b63fbdd2eb5ea2305bc
parentbebf7bdc62537b9ef4700c6402f1c2aa206a9b50
rust: helpers: Generify the definitions of rust_helper_*_{read,set}*

To support atomic pointers, more {read,set} helpers will be introduced,
hence define macros to generate these helpers to ease the introduction
of the future helpers.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260117122243.24404-2-boqun.feng@gmail.com
Link: https://patch.msgid.link/20260303201701.12204-4-boqun@kernel.org
rust/helpers/atomic_ext.c