ktime_get_boottime_seconds() is needed by an updated iwlwifi driver.
Sposored by: The FreeBSD Foundation
MFC after: 3 days
Differential D50005
LinuxKPI: add ktime_get_boottime_seconds() bz on Apr 24 2025, 2:21 PM. Authored by Tags None Referenced Files
Details
ktime_get_boottime_seconds() is needed by an updated iwlwifi driver. Sposored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions This looks good to me. The part that confused me is the name and implementation of ktime_divns(): I wonder if ktime_divns() should "convert" its ktime_t argument to nanoseconds first with ktime_to_ns(). It would be a no-op but just to clarify that it works with and returns nanoseconds, even though the argument is a ktime_t. Comment Actions Yes, ktime_t == ns seems to be implied. There's a few type mis-matches in the file I think but that's unrelated to this change. I wonder if we should do a pass and fix some of them but I'd rather let other things settle first a bit. |