Wrap timespec64 into timespec in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks
This commit is contained in:
parent
a041e75a34
commit
d150e15285
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334777
@ -159,6 +159,7 @@ timeval_to_ktime(struct timeval tv)
|
||||
}
|
||||
|
||||
#define ktime_to_timespec(kt) ns_to_timespec(kt)
|
||||
#define ktime_to_timespec64(kt) ns_to_timespec(kt)
|
||||
#define ktime_to_timeval(kt) ns_to_timeval(kt)
|
||||
#define ktime_to_ns(kt) (kt)
|
||||
|
||||
|
@ -35,6 +35,8 @@
|
||||
#define USEC_PER_MSEC 1000L
|
||||
#define USEC_PER_SEC 1000000L
|
||||
|
||||
#define timespec64 timespec
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/stdint.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user