diff options
| author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2025-12-28 21:05:44 +0900 |
|---|---|---|
| committer | Boqun Feng <boqun.feng@gmail.com> | 2026-01-09 19:01:41 +0800 |
| commit | 2bb8c41e61b29ccdf7b6d716c3a8fe8488aa202a (patch) | |
| tree | b56ecc8f53d3c6028a5c531c0438e1e3a59cd919 /rust/kernel/time/hrtimer.rs | |
| parent | 8de731a6c75547602601a5d219b5cf259ce2b38b (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/time/hrtimer.rs')
0 files changed, 0 insertions, 0 deletions
