summaryrefslogtreecommitdiff
path: root/rust/kernel/driver.rs
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2025-12-28 21:05:44 +0900
committerBoqun Feng <boqun.feng@gmail.com>2026-01-09 19:01:41 +0800
commit2bb8c41e61b29ccdf7b6d716c3a8fe8488aa202a (patch)
treeb56ecc8f53d3c6028a5c531c0438e1e3a59cd919 /rust/kernel/driver.rs
parent8de731a6c75547602601a5d219b5cf259ce2b38b (diff)
rust: sync: atomic: Prepare AtomicOps macros for i8/i16 support
Rework the internal AtomicOps macro plumbing to generate per-type implementations from a mapping list. Capture the trait definition once and reuse it for both declaration and per-type impl expansion to reduce duplication and keep future extensions simple. This is a preparatory refactor for enabling i8/i16 atomics cleanly. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Link: https://patch.msgid.link/20251228120546.1602275-2-fujita.tomonori@gmail.com
Diffstat (limited to 'rust/kernel/driver.rs')
0 files changed, 0 insertions, 0 deletions