From nobody Mon Apr 15 20:41:57 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 4VJJxf2qpnz5H3M8; Mon, 15 Apr 2024 20:41:58 +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 4VJJxd6sQ2z4YTg; Mon, 15 Apr 2024 20:41:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713213718; 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=Wls8P370n2knKRPNxzAcDENpYDEC3mBL+DZyVlHZU7k=; b=wlfOx119yHOH4QDigetI929OIIolgQbalibxr1Mv90HHiUcOD6voCzrF9md4m/BGa1GQsQ +Zd5RrTyhvqOn9fdsNA6pZwj7JvDsMdGq/50I4Wz2uCmB752Hcjnzy0278Ry8mjME6NRQ4 /nzufVbVLYSnCNKCrQgaEpueEQHHYIturemRcJ1zWI0P9+MeR5ZfvYdKbh9jeqFCq8mcam atCFSD1oNkOHpFbX7xOpjr6196ra6HqdVfeeEyqnGDa9Vi+llVrx1Z+9AxP3KJxN908dAC BuAz8WfwbcaN6IgvjjVdkH0iAoqO8a+djr4SLx74Fb4AwjKwl7dkMalGeCnZMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713213718; a=rsa-sha256; cv=none; b=Lp06uLBV/qxa+akYkEAN+9pcET7lMpuCkbdk6IGbunQ3Q01zcKuGS/QLFxA5GfmcO+ChVO Zpu7hDTkT55+AiLx380LuFtcs4xgLQYWCTLWJWy5S09nxxlrwbr0tJUhSQvw4M00YVzzpo /8QNg5YeE0vewKklWa4p9xxQVnh5eOXnZgU09bM6YJQL4yYa0l+8a7onfioNxYumTeg5wx YDK08TVKr48FgJ9gnojNGWzLmhNXbmwDSTaCgO6cKcJRM9lILKTZ7CvoEK9qMGYg3BDX6D BsqmwMARezVRyxDgefebwmX+LlxliFwEFcj9x/mQYfnpKpXfUbPdC3q3rwAF3Q== 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=1713213718; 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=Wls8P370n2knKRPNxzAcDENpYDEC3mBL+DZyVlHZU7k=; b=ZQI8irVrf22sYTmsrrz9IfZ2/Om7DXs6KucUQg8R/qRP/T346Xaql+iRxis/tsaYsPylnp Tr0j8B82DTQXDdCNKS/zdRqnBKSRbSG863CEEO3KNio63U+gm4VuKwX+rV3/UPXHrKmvac pjEJ9n3GKgg0Z8xBLHI3E1LaJiE7GvEnW1merX00TokEmUrTck5jYvEcQ4pZ7gReAeAfqf 0o75oAnTDuxlhbuAdxhM2pePm0XIXW6Tgi+gmaXQ0gze38VoiN/6+VB9dQOpLntBxBeXaA D4+yAgCuToaiIVh9SjkpS+fd/g0GUyND6hF35Biy1a3AuHbxAusFa1e0YU7Nuw== 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 4VJJxd6RdtzF1n; Mon, 15 Apr 2024 20:41:57 +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 43FKfvse043642; Mon, 15 Apr 2024 20:41:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43FKfvVe043638; Mon, 15 Apr 2024 20:41:57 GMT (envelope-from git) Date: Mon, 15 Apr 2024 20:41:57 GMT Message-Id: <202404152041.43FKfvVe043638@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: b83d3eb5b798 - main - sys/_{cpu,domain}set.h: don't require sys/param.h 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: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b83d3eb5b79860c20829d599630e7eae03d7fd53 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=b83d3eb5b79860c20829d599630e7eae03d7fd53 commit b83d3eb5b79860c20829d599630e7eae03d7fd53 Author: Brooks Davis AuthorDate: 2024-04-15 16:53:39 +0000 Commit: Brooks Davis CommitDate: 2024-04-15 20:35:40 +0000 sys/_{cpu,domain}set.h: don't require sys/param.h Add machine/param.h for MAXCPU and MAXMEMDOM in the _KERNEL case of sys/_cpuset.h and sys/_domainset.h, making them more self contained. This eliminates the need to include sys/param.h before sys/cpuset.h and sys/domainset.h. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44466 --- sys/sys/_cpuset.h | 2 ++ sys/sys/_domainset.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/sys/_cpuset.h b/sys/sys/_cpuset.h index 8b77721f4b3c..b87cfb5d3f80 100644 --- a/sys/sys/_cpuset.h +++ b/sys/sys/_cpuset.h @@ -35,6 +35,8 @@ #include #ifdef _KERNEL +#include + #define CPU_SETSIZE MAXCPU #endif diff --git a/sys/sys/_domainset.h b/sys/sys/_domainset.h index 11ddef0e1909..857aaba67990 100644 --- a/sys/sys/_domainset.h +++ b/sys/sys/_domainset.h @@ -32,6 +32,8 @@ #include #ifdef _KERNEL +#include + #define DOMAINSET_SETSIZE MAXMEMDOM #endif