Skip to content

Commit 4d798c7

Browse files
fbqjannau
authored andcommitted
rust: Introduce atomic API helpers
In order to support LKMM atomics in Rust, add rust_helper_* for atomic APIs. These helpers ensure the implementation of LKMM atomics in Rust is the same as in C. This could save the maintenance burden of having two similar atomic implementations in asm. Originally-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/all/20250719030827.61357-2-boqun.feng@gmail.com/
1 parent 371f1e0 commit 4d798c7

4 files changed

Lines changed: 1109 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)