]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: time: doc: Add missing C header links
authorBoqun Feng <boqun.feng@gmail.com>
Thu, 11 Apr 2024 23:08:00 +0000 (16:08 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 30 Apr 2024 22:04:47 +0000 (00:04 +0200)
commitddd9120983c3efbcaa3a4c7777da1440f8ce27d8
tree1dbb05f1eef090bb7a0942243d6c5429c3d18a06
parent54db412e618e9c43e5167f809a901f554e8c43e2
rust: time: doc: Add missing C header links

The definitions related to jiffies are at linux/jiffies.h, and the
definitions related to ktime_t are at linux/ktime.h, since
`kernel::time` provides the functionality dealing with jiffies and
ktime_t, it makes sense to add links to them from Rust's time module.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://lore.kernel.org/r/20240411230801.1504496-2-boqun.feng@gmail.com
rust/kernel/time.rs