Module Name: src Committed By: riastradh Date: Wed Oct 26 23:27:16 UTC 2022
Modified Files: src/sys/kern: kern_turnstile.c Log Message: kern/kern_turnstile.c: Get turnstile0 from sys/sleeptab.h. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/kern/kern_turnstile.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_turnstile.c diff -u src/sys/kern/kern_turnstile.c:1.44 src/sys/kern/kern_turnstile.c:1.45 --- src/sys/kern/kern_turnstile.c:1.44 Wed Jun 29 22:27:01 2022 +++ src/sys/kern/kern_turnstile.c Wed Oct 26 23:27:16 2022 @@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: kern_turnsti static tschain_t turnstile_chains[TS_HASH_SIZE] __cacheline_aligned; struct pool turnstile_pool; -extern turnstile_t turnstile0; static union { kmutex_t lock;