From nobody Fri Mar 21 18:47:14 2025 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 4ZKBJL48xgz5rXlN; Fri, 21 Mar 2025 18:47:14 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZKBJL3NlQz3XKr; Fri, 21 Mar 2025 18:47:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742582834; 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=UlPFRxv1UXPVUWIC0i09DrfkNNSh2ZSV1rMh+E8ig7s=; b=sr7mxNctfL7fireejDRE+qT47jeeBOG2JrCky+oR0CG/8nPIsS+JsI7egpEgGslzZBFSJL CQdbVf7JfsFI4kCvNmThNVMUOSeFgZwB6588reLmodoe4oWh6tF3LFRmaRBPF4MzNoHA5s LJohQSYmFaXxpbZB38VllCT1LK+smD+er3GN/14NDjyJUAdAh3JNrRRWSWSGop/f+U+jVZ fc6mLKs8Vqx2KrH/HEwW4PN3o0H6VwfrcL6U/aP5+R8lG/IfrPu9+FWFnCmj8iUVm4yk4X bSns5uMFL7F6QjlFlfVznJqJNcYFYQunzclBMUBXs4SHscI+mk/t0VNObuV99g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742582834; a=rsa-sha256; cv=none; b=sA8QSfC+qcS8XjWdC0VNS+z0i2DmI9+sUym/khIHgc+OI3F/QyxfULWLIRpbggRld+phdz cmIQTMMc2ukcgYQaPf1BrCL8hM/rcRpkGkbdSpB4WimaPHL+Cxpah8SQHwJQ9zMXqAbW2X mYqPqQNbBt+/scpSb7dAQu50RIW6vVKGmd1TV1i3lCnHt4E3tKa/Or9qOCliJZ5l/FarkM MrYK62ruUtpX1uWq0Qt+yY9gwXPAkQaOXOGd6xIkt+JpbZZs3Pv3sTnJJ8PusDpO0OXs78 4uDOHjbfAWEuJ0F3RVs7qxbB0EZ7eIT7K/yRwLZX5gejitOMAvsBzCIx03QHcg== 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=1742582834; 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=UlPFRxv1UXPVUWIC0i09DrfkNNSh2ZSV1rMh+E8ig7s=; b=jaR3UFN80+I6wCnfkB6/aoW/bL12YD+OWiONjhvtkdo45xZrKNAfJ120zn6up1rBjfs5k+ ox5pgLTjifhzlbq/nZ6bPZrRvqcakUrshUY0fJ9aMLSEKmLBDPtWNXMZYiLfDPpCdmY3Pd Ky9C8jZ/8SSkaydqlkOVhMtA9l32BAyWdiHG/HSHXJFdz1rHQckbKsDXkCXxjQEj6MTX8H l6dVS4QDULAKvkpGLLNyLJ8Jf+VhHj5pDpXYzH+9eTd+QyXmFKh+hISxLgqygnVbtZmWL7 /K/nP86kIZv7c3GnSBSrxIA/ScM/gVdSKahn9/qmJnFbhcvRUcCrMy0E/f8OYQ== 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 4ZKBJL2vNFznv6; Fri, 21 Mar 2025 18:47:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52LIlEo9027111; Fri, 21 Mar 2025 18:47:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52LIlEpt027108; Fri, 21 Mar 2025 18:47:14 GMT (envelope-from git) Date: Fri, 21 Mar 2025 18:47:14 GMT Message-Id: <202503211847.52LIlEpt027108@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien?= =?utf-8?Q?P=C3=A9dron?= Subject: git: c8c32d3e336d - main - linuxkpi: Document why has an include commentted out 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c8c32d3e336df2bdad254ed8019f8ef976ec9bf4 Auto-Submitted: auto-generated The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=c8c32d3e336df2bdad254ed8019f8ef976ec9bf4 commit c8c32d3e336df2bdad254ed8019f8ef976ec9bf4 Author: Jean-Sébastien Pédron AuthorDate: 2025-03-21 18:33:52 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2025-03-21 18:46:35 +0000 linuxkpi: Document why has an include commentted out on Linux includes . We don't have the latter on FreeBSD yet, so let's comment this include for now. It is still referenced because sometimes, consumers of headers rely voluntarily or not on the namespace pollution. Reported by: jrtc27 Approved by: jrtc27 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49448 --- sys/compat/linuxkpi/common/include/linux/cpufeature.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/cpufeature.h b/sys/compat/linuxkpi/common/include/linux/cpufeature.h index 046fab53d521..746d1a7164a8 100644 --- a/sys/compat/linuxkpi/common/include/linux/cpufeature.h +++ b/sys/compat/linuxkpi/common/include/linux/cpufeature.h @@ -30,7 +30,13 @@ #ifndef _LINUXKPI_LINUX_CPUFEATURE_H_ #define _LINUXKPI_LINUX_CPUFEATURE_H_ -// #include +/* + * Linux includes the following header. We don't have it on FreeBSD yet, so + * let's comment this include for now. It is still referenced here because + * sometimes, consumers of headers rely voluntarily or not on the namespace + * pollution. + */ +/* #include */ #include #include