From nobody Tue Oct 11 18:57:31 2022 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 4Mn4lw2FRTz4fCCm; Tue, 11 Oct 2022 18:57:32 +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 4Mn4lw1lRqz3Lqx; Tue, 11 Oct 2022 18:57:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665514652; 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=FgXKYBY/N8Of6ksae4o40iFmPpdcyfNpQCCcrBDZN10=; b=YsHOsiQ//K1SAE+tIC6vPtaiPHTa53sICIjG8PZj8WHX1NXYVewCuvU8SkKUjwshxF+rAj VwXVONh7ky/7rHiK9y1TMfwDhv/UDkHGJBJoh+8h31FAWbGD6peF1/I0M0JkOG7jJuBGdD v3RPKJTb4WgftqP+J0LiaNtGFD/BYs6zCbzhxddiK9eR/x4JS1dFjHDHA/g/L4ow6G8eoY MnwHBGuNklz92i+PsjKQ6Uoxhe0zhvaacv2xVa4D+VsRcnkDH4wm4Ni1r8au4SVqsMPvAk 2BlSol+/2G5FbzNtmkcOZQ7FeoQMfVBcpguNHQV+Woloy77U8aYo1FjzCs9CFQ== 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 4Mn4lw0WZYz13jf; Tue, 11 Oct 2022 18:57:32 +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 29BIvW8r074232; Tue, 11 Oct 2022 18:57:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29BIvV5s074231; Tue, 11 Oct 2022 18:57:31 GMT (envelope-from git) Date: Tue, 11 Oct 2022 18:57:31 GMT Message-Id: <202210111857.29BIvV5s074231@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: aa62d30d46f7 - main - sys/_pv_entry.h: Include 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: 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/main X-Git-Reftype: branch X-Git-Commit: aa62d30d46f78c2e3fadad28a180bf84c6f51ae1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665514652; 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=FgXKYBY/N8Of6ksae4o40iFmPpdcyfNpQCCcrBDZN10=; b=mifkoWnnlRaGy+Js+Ji56SyREZcqsMj7Rbejp4ibjDy0uLyJTghH8uYx/nTqhsejIYkqDU PKMxkzWZK/QYDyWXzm0f4i9TUQovJL/6q9DenlsL28c/P6MQ+MJ01xiLRxiQhu/K1WvdDK sOFDiAEg2AU3PFUI1pitoOs2HBC7F98WJC0RSIYTGQeG/JF2sxWeD0AwQdetosG1zApB6K jXY/EvtN0fkfLt5qe0/KYdi6FYM/iKVAD/MlO8amkkd5Rnetzi13QUi7WFAsBAKZqo2kL2 GxXqrPbI7H3zMtwv8cehYsb5UtONK15mu1fpxFoY+x2s/L19g3vow8XZv3JmJg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665514652; a=rsa-sha256; cv=none; b=yI3QvdbfR+cgizd1gr2NblrsP6Z3Nhlw7tnpC0dBSHc6AL25+TH1b91cvj4IQUfYPml83z +Zp+Lj5pdBrjAd68k7gmY4rUylUF7WYkivHwdeCqO2HjpB1p1FvP1fzLkhnypP8AE7/h6+ P25pIIDQrMnWfTpUMf+giHkpEj8fDVhieVvrwB581CfgJ96q/pF/PQibz9lh/Yr0UTa12D w81Z0koAiZOaq5lCJg8zTanaNqzlUND+tyMUswDno8Q5P4mGrB3sj2Zqg2kdmb76kij5wg aymyli8iJiwIGiRR9E2+CjZpdZwi/p077PQu8vzD3X5W/3Tse8nipDmOAtBV5A== 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=aa62d30d46f78c2e3fadad28a180bf84c6f51ae1 commit aa62d30d46f78c2e3fadad28a180bf84c6f51ae1 Author: Warner Losh AuthorDate: 2022-10-11 18:51:55 +0000 Commit: Warner Losh CommitDate: 2022-10-11 18:51:55 +0000 sys/_pv_entry.h: Include sys/param.h sys/param.h is required for this file because it uses howmany() which is defined there. For the kernel, this works today because of namespace polllution. However, user land programs, like qemu, can include machine/pmap.h without having included sys/param.h (since it wasn't required before). Sponsored by: Netflix Reviewed by: tsoome, jhb Differential Revision: https://reviews.freebsd.org/D36927 --- sys/sys/_pv_entry.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/_pv_entry.h b/sys/sys/_pv_entry.h index 3cd0d9c687f6..ec3ea24a21a5 100644 --- a/sys/sys/_pv_entry.h +++ b/sys/sys/_pv_entry.h @@ -36,6 +36,8 @@ #ifndef __SYS__PV_ENTRY_H__ #define __SYS__PV_ENTRY_H__ +#include + struct pmap; /*