Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern TAILQ -> LIST



details:   https://anonhg.NetBSD.org/src/rev/21f65b643dde
branches:  trunk
changeset: 1008566:21f65b643dde
user:      ad <ad%NetBSD.org@localhost>
date:      Thu Mar 26 22:43:19 2020 +0000

description:
TAILQ -> LIST

diffstat:

 sys/kern/kern_turnstile.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r f717d513058b -r 21f65b643dde sys/kern/kern_turnstile.c
--- a/sys/kern/kern_turnstile.c Thu Mar 26 22:40:10 2020 +0000
+++ b/sys/kern/kern_turnstile.c Thu Mar 26 22:43:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_turnstile.c,v 1.37 2020/03/26 19:46:42 ad Exp $   */
+/*     $NetBSD: kern_turnstile.c,v 1.38 2020/03/26 22:43:19 ad Exp $   */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2009, 2019, 2020
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_turnstile.c,v 1.37 2020/03/26 19:46:42 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_turnstile.c,v 1.38 2020/03/26 22:43:19 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/lockdebug.h>
@@ -557,13 +557,13 @@
 
        (*pr)("Turnstile:\n");
        (*pr)("=> %d waiting readers:", TS_WAITERS(ts, TS_READER_Q));
-       TAILQ_FOREACH(l, rsq, l_sleepchain) {
+       LIST_FOREACH(l, rsq, l_sleepchain) {
                (*pr)(" %p", l);
        }
        (*pr)("\n");
 
        (*pr)("=> %d waiting writers:", TS_WAITERS(ts, TS_WRITER_Q));
-       TAILQ_FOREACH(l, wsq, l_sleepchain) {
+       LIST_FOREACH(l, wsq, l_sleepchain) {
                (*pr)(" %p", l);
        }
        (*pr)("\n");



Home | Main Index | Thread Index | Old Index