]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge tag 'rust-timekeeping-v6.18' of https://github.com/Rust-for-Linux/linux into...
authorMiguel Ojeda <ojeda@kernel.org>
Mon, 22 Sep 2025 20:07:40 +0000 (22:07 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 22 Sep 2025 20:07:40 +0000 (22:07 +0200)
Pull timekeeping updates from Andreas Hindborg:

 - Add methods on 'HrTimer' that can only be called with exclusive
   access to an unarmed timer, or form timer callback context.

 - Add arithmetic operations to 'Instant' and 'Delta'.

 - Add a few convenience and access methods to 'HrTimer' and 'Instant'.

* tag 'rust-timekeeping-v6.18' of https://github.com/Rust-for-Linux/linux:
  rust: time: Implement basic arithmetic operations for Delta
  rust: time: Implement Add<Delta>/Sub<Delta> for Instant
  rust: hrtimer: Add HrTimer::expires()
  rust: time: Add Instant::from_ktime()
  rust: hrtimer: Add forward_now() to HrTimer and HrTimerCallbackContext
  rust: hrtimer: Add HrTimerCallbackContext and ::forward()
  rust: hrtimer: Add HrTimer::raw_forward() and forward()
  rust: hrtimer: Add HrTimerInstant
  rust: hrtimer: Document the return value for HrTimerHandle::cancel()


Trivial merge