Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 Map mtx_sleep() to our mtsleep() API
details: https://anonhg.NetBSD.org/src-all/rev/35b6ea014e68
branches: trunk
changeset: 1025885:35b6ea014e68
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Sat Feb 13 18:40:55 2021 +0100
description:
Map mtx_sleep() to our mtsleep() API
diffstat:
sys/net80211/ieee80211_netbsd.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r c721e55e8e14 -r 35b6ea014e68 sys/net80211/ieee80211_netbsd.h
--- a/sys/net80211/ieee80211_netbsd.h Sat Feb 13 18:39:41 2021 +0100
+++ b/sys/net80211/ieee80211_netbsd.h Sat Feb 13 18:40:55 2021 +0100
@@ -72,7 +72,8 @@
#define mtx_unlock(mtx) mutex_exit(mtx)
#define mtx_owned(mtx) mutex_owned(mtx)
#define mtx_destroy(mtx) mutex_destroy(mtx)
-#define mtx_sleep(a1, a2, a3, a4, a5) /* NNN not sure what it should be. */
+#define mtx_sleep(ident, mtx, prio, wmesg, timo) \
+ 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
Home |
Main Index |
Thread Index |
Old Index