From nobody Tue Feb 14 14:47:13 2023 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 4PGPDy1Sp2z3s2lx; Tue, 14 Feb 2023 14: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGPDx5prBz469B; Tue, 14 Feb 2023 14:47:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676386033; 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=0cJJqSexu1nqVhrt+NCLXRPo856RuEikbNrKym9881I=; b=i71CpxBAO8gCZvcNHpf4Pf4FsX8TRbXqUsH45npUEXqeiV8RPfBLMTNlDXMpfO+TO+s0hr fPd/6FKaY+ZDOtY8vpVMdRoF46nlC6dpSNAQzfoFDWEQC9c4K/wfVTlrvb3H7Sr6iCYThz lyBZrFYsu3idP9U6rgYf/+qNSCoz9zdrM/2O1QigBl3dECzbkPy8B8ODLat+bKqltPckma m2lNpsRysi+NHyZ7jR9ZUiPs7ot0QYChs62dlf/dNknKQt9ScdnNcSp6/juy/D2uI4kn0W t/+n+1I62bdN1hNUYT4VTQzAw68PxzhBfPaicKVRPk4rl7m/Mm/8VC6IJ8vn/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676386033; 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=0cJJqSexu1nqVhrt+NCLXRPo856RuEikbNrKym9881I=; b=dts0ad3SQe497kVk4crDtP5rCcWJygRRKolwYolm2yG3763uRPlLSjELVieSt0JUWPIH96 O2kSqXJjAGP1zefCjYdpoGUiqIMN8VbQFXauHuk0YEAdq94YKfluwVtDiMXuG/XGD0Oivg uMdG1iFMx3UD2YhARhzfXlgqy4UG5bCuMHtwVKgntm+d4RW65PfQsLCnJXtXbqoF5fuDVR 6p2S/dxiv5tYHklA4f05nh26rgcSe+msvyjsvE0CR2kHz7e05obPnYtlXlYR9GIwoUPqi1 KgPsCCGGytOGnjZ1i23c0ZGonf5fp4y5vPD3BvHq9DEc3SwaOJeI+TEGQJ2kpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676386033; a=rsa-sha256; cv=none; b=nnRSCpzmzgJ+QO6VWda8t6foZG0UYVZf/by+zqBjHU2WQswwJwaWOV6KNJ6nFjtkcdQBtA 3O1zXWMqUJACGJuGiEabac9kTJRTQnq6k4e6lvA44gvCH/zP+fVBmkGRR0jqynjLq43uHm XlbqS7Gj9blv2/LVZQxjAPUORt945Uva+zuxhIz2mr8e5HTW5XybkT4139lMnunejSibEz urO1awB7ObSyva16VO9MJE/+ox90XtuDY5l1xd2SvfOvQPQpMvYjbywFG7h1dQTyJT19CP nPBxiNxn3x6nzLGZbF5IsWDyR8l/BlvMoDDicPRd8TlmuHGsGNUr9jHIHsKBmA== 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 4PGPDx4jkBz12mf; Tue, 14 Feb 2023 14:47:13 +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 31EElDl5072301; Tue, 14 Feb 2023 14:47:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31EElDGU072300; Tue, 14 Feb 2023 14:47:13 GMT (envelope-from git) Date: Tue, 14 Feb 2023 14:47:13 GMT Message-Id: <202302141447.31EElDGU072300@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: 513eb69edf38 - main - linux(4): Cleanup sys/sysent.h from linux_util 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 513eb69edf382923bff1b09edda64010d89f74bd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=513eb69edf382923bff1b09edda64010d89f74bd commit 513eb69edf382923bff1b09edda64010d89f74bd Author: Dmitry Chagin AuthorDate: 2023-02-14 14:46:31 +0000 Commit: Dmitry Chagin CommitDate: 2023-02-14 14:46:31 +0000 linux(4): Cleanup sys/sysent.h from linux_util Include sys/sysent.h directly where it 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/compat/linux/linux_futex.c | 1 + sys/compat/linux/linux_ipc.c | 1 + sys/compat/linux/linux_misc.c | 1 + sys/compat/linux/linux_util.h | 1 - 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index 7d75889d2dce..aed6bbf94cee 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #ifdef COMPAT_LINUX32 diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c index 5f0c22b49e58..a72b0a9709b5 100644 --- a/sys/compat/linux/linux_ipc.c +++ b/sys/compat/linux/linux_ipc.c @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #ifdef COMPAT_LINUX32 #include diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 96670ef9ca39..b20a1b3597e5 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h index b89fd61de19a..b00a9036d367 100644 --- a/sys/compat/linux/linux_util.h +++ b/sys/compat/linux/linux_util.h @@ -36,7 +36,6 @@ #ifndef _LINUX_UTIL_H_ #define _LINUX_UTIL_H_ -#include #include MALLOC_DECLARE(M_LINUX);