Page MenuHomeFreeBSD

linuxkpi: Add `timer64_to_tm()`
Needs ReviewPublic

Authored by dumbbell on Mon, Aug 10, 5:27 PM.
Referenced Files
Unknown Object (File)
Sun, Sep 6, 5:25 AM
Unknown Object (File)
Fri, Sep 4, 11:57 AM
Unknown Object (File)
Fri, Sep 4, 8:09 AM
Unknown Object (File)
Thu, Sep 3, 4:18 PM
Unknown Object (File)
Wed, Sep 2, 8:00 AM
Unknown Object (File)
Tue, Sep 1, 10:41 PM
Unknown Object (File)
Thu, Aug 27, 10:01 PM
Unknown Object (File)
Thu, Aug 27, 10:00 PM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

The function converts a number of seconds since Epoch to a struct tm.

The implementation was copied from contrib/tzcode/localtime.c.

The amdgpu DRM driver started to use it in Linux 6.15.

Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bz added inline comments.
sys/compat/linuxkpi/common/src/linux_time.c
11

Which is public domain. What does that make this file then?