From nobody Mon Dec 06 15:56:39 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 DF3D018C5C76; Mon, 6 Dec 2021 15:56:42 +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 4J77Mr1kVzz4bf1; Mon, 6 Dec 2021 15:56:40 +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 90E3D6A69; Mon, 6 Dec 2021 15:56:39 +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 1B6Fudbi033817; Mon, 6 Dec 2021 15:56:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6Fud65033816; Mon, 6 Dec 2021 15:56:39 GMT (envelope-from git) Date: Mon, 6 Dec 2021 15:56:39 GMT Message-Id: <202112061556.1B6Fud65033816@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: dbaeb2ac322b - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: dbaeb2ac322b31e0219eb9714d70c5b8cf8e858a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638806201; 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=7o0OACvk/QUM31UBVA6Dts8JoAHBtj63ETkOCfvgW2Y=; b=nQvEJRQZuXSaN+q/eCmHS1zIy65xIGo9Oxqj7nPLNFWBL2BmsAFVJi/Wpr7DAv4JDhpLL6 BMPet4ICAZIyyqNqWdaSTTn6YraSNFHziSTca6DU+52KxQ9KJwqebVj8uYvNqwG+kTHxuS JGMCgV44LFPUZmsYIiA3A0wBdUPiLlwWJGCDj0MhEr7q4jwI3+Mb1n6Y93YmR31Gi98i56 iXAgw7L8jfCBQMFmHPSEA5UZptcOJe7tcVanC8ldP41mWn16JEkNdY9shZRG5LVi2A9WQn 4XzK0euk/CRIZipnjA4dF7zERXotLfVjbqb74fkkmJ25m46a2o6Jh2ALYKiu5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806201; a=rsa-sha256; cv=none; b=FxAdsEYQFN31x0ylz7V4AGK2s+QHG9qMqPZIj6t6YrsUUmmKOJmav4myqZyi8MnRGthhro wvC5FFAqCnRjSlBuqhH0231nZyZRdAY3HV9FRcdgYIRYUTiqr5bPojIpKz8/6pLDBg3YBF uQeGzsLI5uiZ4aMJhLVQ8WxLvuhkBh7nGNAdSuSq5+wQLMr3H0LEU9PLh7q3wt1SFmmXhh NgiX3XXQngtwDFrfphduALQjTPmRU9rzY+fGwXUHBNwk/opx+KhzjrNyX5p0YqbwQFP3ec gaTesNmpSJuKbugVFHeI5noraYByx4qlPluNWpSuIu8UMT8uL652oo5cVUS1gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=dbaeb2ac322b31e0219eb9714d70c5b8cf8e858a commit dbaeb2ac322b31e0219eb9714d70c5b8cf8e858a Author: Warner Losh AuthorDate: 2021-11-24 17:39:10 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:55:59 +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_ */