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/43b0e76ebd53
branches: trunk
changeset: 956690:43b0e76ebd53
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 9f78a9615a5c -r 43b0e76ebd53 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