diff options
Diffstat (limited to 'sys/dev/pci/drm/include/linux/ktime.h')
-rw-r--r-- | sys/dev/pci/drm/include/linux/ktime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/include/linux/ktime.h b/sys/dev/pci/drm/include/linux/ktime.h index 8edf0205069..4e744bd9e66 100644 --- a/sys/dev/pci/drm/include/linux/ktime.h +++ b/sys/dev/pci/drm/include/linux/ktime.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ktime.h,v 1.3 2020/06/29 08:42:00 jsg Exp $ */ +/* $OpenBSD: ktime.h,v 1.4 2020/07/07 04:05:25 cheloha Exp $ */ /* * Copyright (c) 2013, 2014, 2015 Mark Kettenis * @@ -29,7 +29,7 @@ ktime_get(void) { struct timeval tv; - getmicrouptime(&tv); + microuptime(&tv); return tv; } @@ -63,7 +63,7 @@ ktime_to_ns(struct timeval tv) static inline int64_t ktime_get_raw_ns(void) { - return ktime_to_ns(ktime_get()); + return ktime_to_ns(ktime_get_raw()); } static inline struct timespec64 |