diff options
author | 2020-07-07 04:05:25 +0000 | |
---|---|---|
committer | 2020-07-07 04:05:25 +0000 | |
commit | 448c5a95e201685e3db38859d774d48722d48d1a (patch) | |
tree | 03cbe3ba8a7adabd2a8952d8b31c24cb2defa867 /lib/libssl/ssl_lib.c | |
parent | correct recently broken comments (diff) | |
download | wireguard-openbsd-448c5a95e201685e3db38859d774d48722d48d1a.tar.xz wireguard-openbsd-448c5a95e201685e3db38859d774d48722d48d1a.zip |
drm: use hi-res time to implement ktime_get(), ktime_get_real()
There seems to have been some confusion about the granularity of
certain time interfaces in the Linux kernel when our DRM compatibility
layer was written.
To be clear: the Linux ktime_get() and ktime_get_real() interfaces are
*high resolution* clocks. We should to implement them with high
resolution interfaces from our own kernel.
Thus, use microuptime(9) to implement ktime_get() and microtime(9) to
implement ktime_get_real().
While here, ktime_get_raw_ns() should use ktime_get_raw(), not
ktime_get().
Discussed with kettenis@ and jsg@.
ok jsg@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions