From nobody Mon Dec 06 15:55:21 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 90E0918C4189; Mon, 6 Dec 2021 15:55:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J77LL3zGMz4b1q; Mon, 6 Dec 2021 15:55:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D62C6731; Mon, 6 Dec 2021 15:55:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B6FtLp4032837; Mon, 6 Dec 2021 15:55:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6FtLOo032836; Mon, 6 Dec 2021 15:55:21 GMT (envelope-from git) Date: Mon, 6 Dec 2021 15:55:21 GMT Message-Id: <202112061555.1B6FtLOo032836@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 320d341292d8 - stable/12 - sys/alq.h: Kernel only file, mark as such List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 320d341292d845b33b2d51230020946262b0b798 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638806122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aUVPc4oDr9+MEuAsPFOeVwU7RwmsNErCgLL8KY3VXXY=; b=x728CLNfLWKd2nium4sLlXsua5z4tQGcvY6zm9HkQ63aIHNn+Tfle1Yi2nJzkBBfEU5BgO +nUbOk3cLGk7lee00qz/0vj2gi8na8Vita5R5OLCtCWRXHO9XfqdeevDzlYW2l0jSU3aDx WS5VuypHi90P35ctKAC8jDsu+/ZgOjNIjMEvirg2gnSs4NNDGSxlGmlIZJFcjLSggFVG35 4KK8zziyJE6mGpYG6RmwpJALq9PG3Frig9rcpyVsRjMshK11mJtjHFdEaVphGzHQKtOpqN TfkEyX/bE/51r8KJg64nk/QU3FqRUTRw3n9zJLTsw+vEpXSwf8KFwZ1risAFig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806122; a=rsa-sha256; cv=none; b=hT2jCKEsFwSqZTk/+FQOjkDzmva34dWaRW44F5vUFuNF/dra38PPlfc64KkNmvNGVWnYGc CkHPtK+jBLLM9JuNcWhbDo20Cmrv1JbclQjtiUb0vC9qfuxky6Ox9d4vwKhaSgdkpZIb+C YoTvrXa3cqb2MtOS/n/0TJAhf2suPsRKgumhuQri9qRIVbRazcrbTO7aFfzUaG7yh4jUmm PlZ9tXNlZuFDXQRAVtSVLyL1dDiAevyt0lNp0/r7izPVpi3SGuXXoAL3wQTIT8f3hgcQHS 4g9XoXQWz/npC8rVPLIJHqCGBEZPHD28kxbNet6gTTKrY8eysvMt8o37PWRGgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=320d341292d845b33b2d51230020946262b0b798 commit 320d341292d845b33b2d51230020946262b0b798 Author: Warner Losh AuthorDate: 2021-11-24 17:39:10 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:54:10 +0000 sys/alq.h: Kernel only file, mark as such The alq interfaces are 100% in-kernel, so make this whole file #ifdef _KERNEL. There's no users of this in the tree outside of the kernel, nor does it define anything that could be useful at peeking into the state of alq. Sponsored by: Netflix (cherry picked from commit 242d6201a6c840a68dc19b0df1157568751e1391) --- sys/sys/alq.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/alq.h b/sys/sys/alq.h index 536fa2077357..fc8962c13cdb 100644 --- a/sys/sys/alq.h +++ b/sys/sys/alq.h @@ -37,6 +37,7 @@ #ifndef _SYS_ALQ_H_ #define _SYS_ALQ_H_ +#ifdef _KERNEL /* * Opaque type for the Async. Logging Queue */ @@ -143,4 +144,5 @@ alq_post(struct alq *alq, struct ale *ale) alq_post_flags(alq, ale, 0); } +#endif /* _KERNEL */ #endif /* _SYS_ALQ_H_ */