LinuxKPI: add ns_to_timespec64()
Add ns_to_timespec64() which does not seem to require anything from us given timespec64 is aliases to timespec. Sponsored by: The FreeBSD Foundation MFC after: 10 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D40123
This commit is contained in:
@@ -121,6 +121,8 @@ ns_to_timespec(const int64_t nsec)
|
||||
return (ts);
|
||||
}
|
||||
|
||||
#define ns_to_timespec64(_x) ns_to_timespec(_x)
|
||||
|
||||
static inline int
|
||||
timespec_valid(const struct timespec *ts)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user