Source-Changes-HG archive

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

[src/trunk]: src/sys/kern kern/kern_turnstile.c: Get turnstile0 from sys/slee...



details:   https://anonhg.NetBSD.org/src/rev/42fa4dcd57fe
branches:  trunk
changeset: 372069:42fa4dcd57fe
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Oct 26 23:27:16 2022 +0000

description:
kern/kern_turnstile.c: Get turnstile0 from sys/sleeptab.h.

diffstat:

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

diffs (34 lines):

diff -r 23adea3c714a -r 42fa4dcd57fe sys/kern/kern_turnstile.c
--- a/sys/kern/kern_turnstile.c Wed Oct 26 23:26:57 2022 +0000
+++ b/sys/kern/kern_turnstile.c Wed Oct 26 23:27:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_turnstile.c,v 1.44 2022/06/29 22:27:01 riastradh Exp $    */
+/*     $NetBSD: kern_turnstile.c,v 1.45 2022/10/26 23:27:16 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2009, 2019, 2020
@@ -61,13 +61,14 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_turnstile.c,v 1.44 2022/06/29 22:27:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_turnstile.c,v 1.45 2022/10/26 23:27:16 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/lockdebug.h>
 #include <sys/pool.h>
-#include <sys/proc.h> 
+#include <sys/proc.h>
 #include <sys/sleepq.h>
+#include <sys/sleeptab.h>
 #include <sys/systm.h>
 
 /*
@@ -81,7 +82,6 @@
 
 static tschain_t       turnstile_chains[TS_HASH_SIZE] __cacheline_aligned;
 struct pool            turnstile_pool;
-extern turnstile_t     turnstile0;
 
 static union {
        kmutex_t        lock;



Home | Main Index | Thread Index | Old Index