Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/net80211 Switch back from hardclock_ticks to getti...



details:   https://anonhg.NetBSD.org/src-all/rev/f96ff4f05aec
branches:  trunk
changeset: 371136:f96ff4f05aec
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Sat Mar 19 09:04:13 2022 +0100

description:
Switch back from hardclock_ticks to getticks()

diffstat:

 sys/net80211/ieee80211_netbsd.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 337cf3ccd8f2 -r f96ff4f05aec sys/net80211/ieee80211_netbsd.h
--- a/sys/net80211/ieee80211_netbsd.h   Fri Mar 18 17:51:26 2022 +0100
+++ b/sys/net80211/ieee80211_netbsd.h   Sat Mar 19 09:04:13 2022 +0100
@@ -76,7 +76,7 @@
        mtsleep(ident, prio, wmesg, timo, mtx)
 #define nitems(x)    (sizeof((x)) / sizeof((x)[0]))
 #define ovbcopy(dst,src,size)  memmove(dst,src,size)
-#define ticks   hardclock_ticks
+#define ticks   getticks()
 
 /*
  * task stuff needs major work NNN! 



Home | Main Index | Thread Index | Old Index