Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm/dist/bsd-core old drm: Use getticks(), ...



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

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

Should delete this code, no idea if it even still compiles.

diffstat:

 sys/external/bsd/drm/dist/bsd-core/drmP.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1d424f37b2b7 -r c515a18043ee sys/external/bsd/drm/dist/bsd-core/drmP.h
--- a/sys/external/bsd/drm/dist/bsd-core/drmP.h Fri Mar 18 23:32:24 2022 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/drmP.h Fri Mar 18 23:32:41 2022 +0000
@@ -303,7 +303,7 @@
 #else
 #define DRM_MTRR_WC            0
 #endif
-#define jiffies                        hardclock_ticks
+#define jiffies                        getticks()
 
 #define DRM_MAXUNITS    128
 extern struct drm_device *drm_units[];



Home | Main Index | Thread Index | Old Index