Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/dwc2 dwc2: Use getticks(), not hardclock_ti...



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

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

diffstat:

 sys/external/bsd/dwc2/dwc2.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5764cfd37f8f -r fd87d33f980d sys/external/bsd/dwc2/dwc2.h
--- a/sys/external/bsd/dwc2/dwc2.h      Fri Mar 18 23:32:49 2022 +0000
+++ b/sys/external/bsd/dwc2/dwc2.h      Fri Mar 18 23:32:59 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dwc2.h,v 1.11 2021/12/19 11:00:47 riastradh Exp $      */
+/*     $NetBSD: dwc2.h,v 1.12 2022/03/18 23:32:59 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -104,7 +104,7 @@
 #define        dev_vdbg(...) do { } while (0)
 #endif
 
-#define jiffies                        hardclock_ticks
+#define jiffies                        getticks()
 #define msecs_to_jiffies       mstohz
 
 enum usb_otg_state {



Home | Main Index | Thread Index | Old Index