diff options
| author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2025-12-30 18:37:17 +0900 |
|---|---|---|
| committer | Boqun Feng <boqun.feng@gmail.com> | 2026-01-09 19:01:41 +0800 |
| commit | 323e4bfcbe2dc6c6cac6e007dded0ba4f89a6458 (patch) | |
| tree | 970e1616b1594212f898cbcf101203ad572aa0f6 /drivers/android | |
| parent | 4bac28727a2b3f33e6375aeafdf31df67deff5d0 (diff) | |
rust: list: Switch to kernel::sync atomic primitives
Convert uses of `AtomicBool` to `Atomic<bool>`.
Note that the compare_exchange migration simplifies to
`try_cmpxchg()`, since `try_cmpxchg()` provides relaxed ordering on
failure, making the explicit failure ordering unnecessary.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://patch.msgid.link/20251230093718.1852322-3-fujita.tomonori@gmail.com
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions
