diff options
| author | Andreas Hindborg <[email protected]> | 2025-03-09 15:18:54 +0000 |
|---|---|---|
| committer | Andreas Hindborg <[email protected]> | 2025-03-11 20:00:42 +0000 |
| commit | d7bf4786b5250b0e490a937d1f8a16ee3a54adbe (patch) | |
| tree | 9114fadb30e3f333f257d7ef39a4fbf1ea8d1161 /samples/rust/rust_driver_platform.rs | |
| parent | rust: sync: add `Arc::as_ptr` (diff) | |
| download | kernel-d7bf4786b5250b0e490a937d1f8a16ee3a54adbe.tar.gz kernel-d7bf4786b5250b0e490a937d1f8a16ee3a54adbe.zip | |
rust: hrtimer: implement `HrTimerPointer` for `Arc`
Allow the use of intrusive `hrtimer` fields in structs that are managed by
an `Arc` by implementing `HrTimerPointer` and `RawTimerCallbck` for `Arc`.
Acked-by: Frederic Weisbecker <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andreas Hindborg <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions
