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 drm: Use getticks(), not...



details:   https://anonhg.NetBSD.org/src/rev/5764cfd37f8f
branches:  trunk
changeset: 363950:5764cfd37f8f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Mar 18 23:32:49 2022 +0000

description:
drm: Use getticks(), not hardclock_ticks.

diffstat:

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

diffs (29 lines):

diff -r c515a18043ee -r 5764cfd37f8f sys/external/bsd/drm2/include/linux/jiffies.h
--- a/sys/external/bsd/drm2/include/linux/jiffies.h     Fri Mar 18 23:32:41 2022 +0000
+++ b/sys/external/bsd/drm2/include/linux/jiffies.h     Fri Mar 18 23:32:49 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: jiffies.h,v 1.13 2020/02/14 14:34:59 maya Exp $        */
+/*     $NetBSD: jiffies.h,v 1.14 2022/03/18 23:32:49 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -39,8 +39,8 @@
 
 #include <linux/math64.h>
 
-#define        jiffies         hardclock_ticks
-#define        jiffies_64      hardclock_ticks /* XXX */
+#define        jiffies         getticks()
+#define        jiffies_64      getticks() /* XXX */
 
 /* XXX Er, what?  */
 #define        MAX_JIFFY_OFFSET        ((INT_MAX >> 1) - 1)
@@ -49,7 +49,7 @@
 get_jiffies_64(void)
 {
 
-       return (uint64_t)(unsigned)hardclock_ticks;
+       return (uint64_t)(unsigned)getticks();
 }
 
 static inline uint64_t



Home | Main Index | Thread Index | Old Index