From nobody Fri Jun 14 15:35:06 2024 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 4W13Ht6cbsz5P3lQ; Fri, 14 Jun 2024 15:35:06 +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 4W13Ht60zbz4ldY; Fri, 14 Jun 2024 15:35:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718379306; 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=lXiLzaGfUM9XqSzhIT57b9faQO6vZrXIS0bfDNgPKXI=; b=T0DvqEy+j9vvMLjGUbBvjk6wHbkwv2ZzEdKoKQrJFd3woUmoyz/gWx/ANzZwl/pomSe6jF TB5NMLeLO4r9b0TNOXBd73LCxHkNI5x6xbxgL4Y/ECl9NHfMZfvff2jhyaZE23hniF8b9X 01e3jfoJwkhicltcOvXpUA9IIzDUZJrXVDJCjcp7eR7p2GVwqcxtgxH1KD2irg5QIbBiss 0/+epeWr4Ys5wWW7PJuTsrf4Aez+wcVYtS3euvrKrrLBmu2PWxytwOlnIrNH5fPtc7TwWC gE4HoxqF5mJXuDfCK5LlBlQgrACv0ynOSpJAUqHLETPtH1oUfu+ZKuk0B6Hi4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718379306; a=rsa-sha256; cv=none; b=R1/sqAsVKMUYctCh1j71v9YgsFS++xCqKT2+HesNb8tatpOJyifea/vzRWygsdJ82y8NkX kW2NANXRr25pvSpl4Lir12rh648rwxf00DoD0SmmeCkgp6iXoGtVSJ+PQ1zXcL9cJcSn62 PGHKMzfa+66puzN+8EoTOxRPEP0vLXhsFv9fOHjO7k8bRocbAECznsg7Gz1Gb0KNw2Wr1/ 65BLCXv6PXDmk66SbYv+Nkz4RdBguLDHjzv1yyeqApL9q/iwfG7Ya/hX3inyiidKBxIdH7 A9iCxv2geiCevRjgd7qj2TJvNoOpLoBhGFnxr66EhJo7nVTzX4WDNTU4i9cTNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718379306; 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=lXiLzaGfUM9XqSzhIT57b9faQO6vZrXIS0bfDNgPKXI=; b=i6NhfWfwOd2fWzQQmn0D+/EkZ8zOPLeamh44Tg1J376OFwDcBQlorblCH7S7vKvKTKIibU iP7BinWm0NktzMX2ps1wRzPIH/qsPmdb0iCh9uLDFuXQkWbeMfSWPFkWwl8EAOA2PI66YX 3jW/Tl7Y9HsJOX1bsduYBRVV3J3eDbL/vsXIuCEpbAG2Qz2A23TmhErT9UJPCVR5EuKEf8 WYhUPLzxzOMUmKj6EtwlW7tmg9/3eGoEuIhRLp9jlKVN5t4IhF+iUl4ls0IuFturiVAliy yi6CY1DaW80FkOfrMEvLt3z2zhiDT0sEap27TV6WJLuea+/luEnzob+6Hx5NVg== 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 4W13Ht5ZZKzQXb; Fri, 14 Jun 2024 15:35:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45EFZ6K7097630; Fri, 14 Jun 2024 15:35:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45EFZ64g097627; Fri, 14 Jun 2024 15:35:06 GMT (envelope-from git) Date: Fri, 14 Jun 2024 15:35:06 GMT Message-Id: <202406141535.45EFZ64g097627@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: ec7358885de0 - main - libkern.h: Make more self-sufficient 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/main X-Git-Reftype: branch X-Git-Commit: ec7358885de020711b30114df59f21c6bf042639 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ec7358885de020711b30114df59f21c6bf042639 commit ec7358885de020711b30114df59f21c6bf042639 Author: Warner Losh AuthorDate: 2024-06-14 14:29:08 +0000 Commit: Warner Losh CommitDate: 2024-06-14 15:34:05 +0000 libkern.h: Make more self-sufficient libkern.h uses KASSERT, which fails when building in the boot loader. This is hacked around in a number of other places, but it's easier to just include sys/kassert.h here. Those other hacks still work, but are no longer really needed and can be torn down over time. Reviewed by: emaste Sponsored by: Netflix --- sys/sys/libkern.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h index afdfe7346b28..6dc4bc87c3fe 100644 --- a/sys/sys/libkern.h +++ b/sys/sys/libkern.h @@ -36,6 +36,7 @@ #ifdef _KERNEL #include #endif +#include #ifndef LIBKERN_INLINE #define LIBKERN_INLINE static __inline