From nobody Tue Feb 14 14:47:12 2023 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 4PGPDx21dBz3s2f7; Tue, 14 Feb 2023 14:47:13 +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 4PGPDw4pm0z466p; Tue, 14 Feb 2023 14:47:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676386032; 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=wfFVJihFgCgxPVpncexryzxCldGjQ8ePpfOpNRaGd/0=; b=aF2xXWkdMcduDVNGvQi8WcRX6GiAHissJiT5A2Z0tfN3vERIBVDBKrybe66mS8mviQAzVf lkeIABK2ByZ80YXY3ZRbosW30mPTlAigxByDqQ+qYtusFLLMI2/ZKLa8b3O57oh8aVMFH4 zo2II/o6MRsFH5zuQfmQv5khYK6waJKgqr/5imjElM0XgvS5HVTL3548FwWvMpWPMn59uC 3WiptsdArBkJpCVAF8mgC8E1Yen5WA0VJMxazzniWAB0lAWxSbIcwf5mpACAFBG7SbjW4n YXugxDJkTNB4spLl4xY9RYesrHZ1BPh+PcnXzYBhOJ96t0/Rt+Wqd+/pFX1ZDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676386032; 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=wfFVJihFgCgxPVpncexryzxCldGjQ8ePpfOpNRaGd/0=; b=W9UUk8soHyJmKeETzOHZZZcEZEHylEgJgQhpnGXNp51kZCqVGTU7yM63gI7ZdO0zIjTYdD JlTMh1vkuuvXyiT+4nbN7v/favzsIQ2RSsEhPvBVaP9UedTu/EKi2b2YPYxIVxbFJnRqce r7RtE4RWRJ5jSYcQAvmhcB5zoZg+3acAxq7zewe7v5XNC4Z9KOOGfCvHqjSmvUlikm35GA EbsGYrFzS9k2o9rAFSAjtbYCF5PMR2yJQOlv082a39SAl1kdOkSXi5tCPMbh3JlzIsDDWa 5tUfLWupylfkiuoFoaSeQnEFPBdnNj3p1ZUdc3ONiLEk1Y/og7IT/njSUjmtCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676386032; a=rsa-sha256; cv=none; b=k1O4DO0Ko8IoS9EEIajhQjQMPXjBsh4gUb7ro0sRe+lZDGcVy14OOPTFQgkWxzpkzhT+T+ 87cRFGS4Bs5ho1DLSa25GAS9qlLSEV2V23cwfZpd5zSfLZuwE2jWCswMYMbf6ODptMfS7F OQ/LBMpzb/lgcjCTz7S6JObo5SaYNoIBS/LP62Jz4HbBZuwjpCNkMWCgEGxJATqg24AkD6 sU0Rpq93G0HfK9/+rUV21lWKOWBasKmWF6L/RhO+z2vflTv8PCckoLfYVsCltgImV0DLtk SX2YHpmLQSyV7i0kQcfwrn65enJwnt7fKOsVhA/Xn0bo997ypEcomrD/V1LFSA== 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 4PGPDw3s0hz12j3; Tue, 14 Feb 2023 14:47:12 +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 31EElCmY072277; Tue, 14 Feb 2023 14:47:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31EElCof072276; Tue, 14 Feb 2023 14:47:12 GMT (envelope-from git) Date: Tue, 14 Feb 2023 14:47:12 GMT Message-Id: <202302141447.31EElCof072276@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 31e938c531dc - main - linux(4): Cleanup vm includes from linux_util.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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 31e938c531dcbb708dbcd0e1d0a4ea80dcc82300 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=31e938c531dcbb708dbcd0e1d0a4ea80dcc82300 commit 31e938c531dcbb708dbcd0e1d0a4ea80dcc82300 Author: Dmitry Chagin AuthorDate: 2023-02-14 14:46:30 +0000 Commit: Dmitry Chagin CommitDate: 2023-02-14 14:46:30 +0000 linux(4): Cleanup vm includes from linux_util.h Include vm headers directly where they needed. The linux_util.h included in a most source files of the Linuxulator, avoid collecting a rarely used includes here. MFC after: 2 weeks --- sys/amd64/linux/linux_machdep.c | 1 + sys/arm64/linux/linux_machdep.c | 2 ++ sys/compat/linux/linux_misc.c | 1 + sys/compat/linux/linux_util.h | 2 -- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/amd64/linux/linux_machdep.c b/sys/amd64/linux/linux_machdep.c index 1c042424f3ea..ed905518fdf4 100644 --- a/sys/amd64/linux/linux_machdep.c +++ b/sys/amd64/linux/linux_machdep.c @@ -74,6 +74,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include diff --git a/sys/arm64/linux/linux_machdep.c b/sys/arm64/linux/linux_machdep.c index 0bfe51f7da1e..4b12476f7865 100644 --- a/sys/arm64/linux/linux_machdep.c +++ b/sys/arm64/linux/linux_machdep.c @@ -39,6 +39,8 @@ __FBSDID("$FreeBSD$"); #include #include +#include + #include #include #include diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 98bbe4b4cbb9..96670ef9ca39 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -80,6 +80,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h index b12b3034ab49..b89fd61de19a 100644 --- a/sys/compat/linux/linux_util.h +++ b/sys/compat/linux/linux_util.h @@ -36,8 +36,6 @@ #ifndef _LINUX_UTIL_H_ #define _LINUX_UTIL_H_ -#include -#include #include #include