Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Stupid ktime_get_raw unt...



details:   https://anonhg.NetBSD.org/src/rev/7375b0dd9caf
branches:  trunk
changeset: 1027991:7375b0dd9caf
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:25:58 2021 +0000

description:
Stupid ktime_get_raw until I figure out what this should be.

diffstat:

 sys/external/bsd/drm2/include/linux/ktime.h |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r af80b80dea96 -r 7375b0dd9caf sys/external/bsd/drm2/include/linux/ktime.h
--- a/sys/external/bsd/drm2/include/linux/ktime.h       Sun Dec 19 01:25:50 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/ktime.h       Sun Dec 19 01:25:58 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ktime.h,v 1.13 2021/12/19 01:18:31 riastradh Exp $     */
+/*     $NetBSD: ktime.h,v 1.14 2021/12/19 01:25:58 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -125,12 +125,17 @@
        return timespec_to_ktime(ts);
 }
 
+static inline ktime_t
+ktime_get_raw(void)
+{
+       /* XXX */
+       return ktime_get();
+}
+
 static inline uint64_t
 ktime_get_raw_ns(void)
 {
-
-       /* XXX */
-       return ktime_to_ns(ktime_get());
+       return ktime_to_ns(ktime_get_raw());
 }
 
 static inline ktime_t



Home | Main Index | Thread Index | Old Index