From nobody Wed Nov 24 18:27:43 2021 X-Original-To: dev-commits-src-main@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 1A06E18940AA; Wed, 24 Nov 2021 18:27:44 +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 4HzqHg1v8mz3htB; Wed, 24 Nov 2021 18:27:43 +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 224E86D93; Wed, 24 Nov 2021 18:27:43 +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 1AOIRhCl081046; Wed, 24 Nov 2021 18:27:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOIRh0f081045; Wed, 24 Nov 2021 18:27:43 GMT (envelope-from git) Date: Wed, 24 Nov 2021 18:27:43 GMT Message-Id: <202111241827.1AOIRh0f081045@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 242d6201a6c8 - main - sys/alq.h: Kernel only file, mark as such List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 242d6201a6c840a68dc19b0df1157568751e1391 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637778463; 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=aYlgwyt3a4esrLt07SfddZ1L9a1fcYj5kYBKRQ3BCeE=; b=rSModH1mfRAkGWCYTEnZBoWU7U30f4qMKluBkJRi/BTnxJU2MVn8LUHFRrxx2bFd+TgD8S gWpKBbukJglNykU/s3oa7Dl5N1ao7jnApl9A0zIcmmzoeE8zlJ05T/Aff5s/uJW8zMmR4m OP89dv91NIwB3Fj/YO6sQHupTJGKpONEaz0l8vfjqQ8JxuVTPPelWA2X1w0n1/qKHkSKpB 976SUT7jzOhHKxOQDEqKbJQFrvphK0+2n6YAsieXWJy4dzbSAK9NbfoDn07PzBAVQSXEGv Okqvn698aZpNbh5ZHoW3duayiAmnM2DvMWlocwL9b3Yp/zudn/8SKVS2N6grsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637778463; a=rsa-sha256; cv=none; b=fcyItoxXIroL2tscoe0Hae/F8y1IlNrhUCMEaxlD8NoUyGXT2IlAXX6OJqTwnvcs2RVHph OlEiFHYPC7Eeg4crulvW7+qbMHfPgPIF0dYsOBBesVcUI47ZsHNVhxbejtbUb2RiL2L2MR 6ZENiqUbLmjqLc3IplJGjSOKA3j7qqxAY8Fw58M6jLTwC+2uwQ7ejzr4qH6bUMVV5z94q0 nuEA5iLaZxjyEPQ6y8pjBO/51mldGOS06m76OYGB4WveF67cQH6kHdEkrQtrZBbjkmloSX QqztlyXK/GYjKUUxcBIB2oKxMIHEZdQAieOapwiSxZky8VfvKyNt6ZMcg7e9jA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=242d6201a6c840a68dc19b0df1157568751e1391 commit 242d6201a6c840a68dc19b0df1157568751e1391 Author: Warner Losh AuthorDate: 2021-11-24 17:39:10 +0000 Commit: Warner Losh CommitDate: 2021-11-24 18:26:45 +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 --- 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_ */