Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/sys Add turnstile_print prototype for LOCKD...
details: https://anonhg.NetBSD.org/src/rev/9c8b63dc53e8
branches: trunk
changeset: 1015949:9c8b63dc53e8
user: martin <martin%NetBSD.org@localhost>
date: Wed Nov 04 19:27:53 2020 +0000
description:
Add turnstile_print prototype for LOCKDEBUG
diffstat:
sys/rump/include/sys/sleeptab.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 1077fc35bcf6 -r 9c8b63dc53e8 sys/rump/include/sys/sleeptab.h
--- a/sys/rump/include/sys/sleeptab.h Wed Nov 04 19:27:41 2020 +0000
+++ b/sys/rump/include/sys/sleeptab.h Wed Nov 04 19:27:53 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sleeptab.h,v 1.1 2020/11/01 20:58:38 christos Exp $ */
+/* $NetBSD: sleeptab.h,v 1.2 2020/11/04 19:27:53 martin Exp $ */
/*
* Copyright (c) 2020
@@ -35,6 +35,10 @@
kcondvar_t sq_cv;
};
-void sleepq_destroy(sleepq_t *);
+void sleepq_destroy(sleepq_t *);
+#ifdef LOCKDEBUG
+void turnstile_print(volatile void *, void (*)(const char *, ...)
+ __printflike(1, 2));
+#endif
#endif /* _RUMP_SYS_SLEEPTAB_H_ */
Home |
Main Index |
Thread Index |
Old Index