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/6ac07e0cde60
branches:  trunk
changeset: 367664:6ac07e0cde60
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 8a29c748d11f -r 6ac07e0cde60 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