Skip to content

Commit 0e3ae43

Browse files
author
Paul Dagnelie
committed
FreeBSD Time Fixes
Signed-off-by: Paul Dagnelie <[email protected]>
1 parent f4fbb51 commit 0e3ae43

File tree

1 file changed

+1
-7
lines changed
  • include/os/freebsd/spl/sys

1 file changed

+1
-7
lines changed

include/os/freebsd/spl/sys/time.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,11 @@ getlrtime(void)
6868
struct timespec ts;
6969
hrtime_t nsec;
7070

71-
getnanotime(&ts);
71+
getnanouptime(&ts);
7272
nsec = ((hrtime_t)ts.tv_sec * NANOSEC) + ts.tv_nsec;
7373
return (nsec);
7474
}
7575

76-
static __inline void
77-
nanouptime(struct timespec *ts)
78-
{
79-
clock(&ts);
80-
}
81-
8276
static __inline hrtime_t
8377
gethrtime(void)
8478
{

0 commit comments

Comments
 (0)