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/09c816c4bc2a
branches:  trunk
changeset: 375775:09c816c4bc2a
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 1ba5461aaac1 -r 09c816c4bc2a 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 @@ extern int    ieee80211_debug;
        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