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/8fd396091bde
branches:  trunk
changeset: 369374:8fd396091bde
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 c28e77993220 -r 8fd396091bde 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