From nobody Sat Oct 29 16:11:59 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 4N04Db2x45z4gC4X; Sat, 29 Oct 2022 16:11:59 +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 4N04Db2Ldlz3wRZ; Sat, 29 Oct 2022 16:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667059919; 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=nfeGAgWvZs7Born4ZXXZcDm0VwAESyneVsAtg5nXpf4=; b=QP4EAiLnVshv63Gv5SPu7+LP8wafasuywOXfsTTbeV4vRPQDww5Orr3NfOnUioSibtfsFM wxJPJ8StSMetZaALlLmm2Lh/qym6TkFRwYpfF0PGH1GAnQWlr8+v4tKYDBuCvT4HpqeAzj 2iTqr+HyBDJquKFH4BA7Bjx0BpBN6PYf0vmRzAch8sFsn3D+jwHdcrAn2yQv2NrEDI6T0q svjQExVSGHZt6sV90VRSnvz7j/xtudwmYGax+WZzHNpAIzgncK8K4oBgMCvrvxP5VV7kod 5FMu634YmbY35PIZ/t+Mx4yC9ZXjVmBHUtC+Qo/aSb8Bam57kXFhTBT4HBNShw== 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 4N04Db1QHrzP3m; Sat, 29 Oct 2022 16:11:59 +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 29TGBxQW046823; Sat, 29 Oct 2022 16:11:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29TGBxS2046822; Sat, 29 Oct 2022 16:11:59 GMT (envelope-from git) Date: Sat, 29 Oct 2022 16:11:59 GMT Message-Id: <202210291611.29TGBxS2046822@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 331784880821 - main - linux, linux64: improve SRCS formatting 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 331784880821c6aa55188d0950e98d898c42203c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667059919; 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=nfeGAgWvZs7Born4ZXXZcDm0VwAESyneVsAtg5nXpf4=; b=S0azjpxjGpxMW1+I8STsXaYWSeVQoHcoOgKLSc+jQVoGSqQ+DqqJRfX6ducI6DCTlH+AtG cumm8ZjyFI8JycePbN2NzfT1xB8WWmJK2DJ8T3grCdF4zymYVhX/AHUFCD4mdAxGerdZ/o E1AxAOR4kUY+TMaLcCBIZIwhd4eRprtPqVZjFy3GLk524oe1h0o+62/kbzYhoAn42V+4I1 0HKeSK6MnWXLEQC42cl5cv7PZWlcUeurS18jKAFmvEblEjLwLVc8rnnd5XKAXeZUW6phEq yMYFHm6+1Ry091pMxlQ7aDQ0ptmBU0LXiPrzKlt8tsucWQwBsZANJcCe6pPCYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667059919; a=rsa-sha256; cv=none; b=HEpnfsQE8p/UkLglz/nasncUuJ2jLiwVmhCsCCaYksscBsMTHGiUNasyc2nMd2gLLHHkuB V30cWogBZIduUn4hh0zMvsTMZeC8cAkrTlGuzF1XcCZwvOKGWuN3UvNDi5emdCl9p40pXq fuGlNA+QdUryl3b94BXAuly2m8/hWtwjV5LwzaPT7CQyX44dcj9nr7r6lZk0EfGErqALVX kujO3JTnu2vOtXl2bbB3PS5DHHneyDi0UEprlVsMs3viZKuwG8RI8djqApYa5Ew4H5dmmU zkacHOAQ46OQu4fWypr9OyqypYvAy6L511W9yOYfMevcqkBzzmvyVrEcmzoSCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=331784880821c6aa55188d0950e98d898c42203c commit 331784880821c6aa55188d0950e98d898c42203c Author: Mitchell Horne AuthorDate: 2022-10-29 15:28:16 +0000 Commit: Mitchell Horne CommitDate: 2022-10-29 16:11:24 +0000 linux, linux64: improve SRCS formatting Sort the entries alphabetically, and list them with one entry per line. This makes the diffs much cleaner when adding or removing a new entry, as I will do in the next commit. MFC after: 1 week Sponsored by: The FreeBSD Foundation --- sys/modules/linux/Makefile | 52 ++++++++++++++++++++++++++++++++++---------- sys/modules/linux64/Makefile | 36 ++++++++++++++++++++++++------ 2 files changed, 69 insertions(+), 19 deletions(-) diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index 46087dede53f..808f87f87dc7 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -11,14 +11,34 @@ CFLAGS+=-DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 .endif KMOD= linux -SRCS= linux_fork.c linux${SFX}_dummy_machdep.c linux_file.c linux_event.c \ - linux_futex.c linux_getcwd.c linux_ioctl.c linux_ipc.c \ - linux${SFX}_machdep.c linux_misc.c linux_signal.c \ - linux_socket.c linux_stats.c linux_sysctl.c linux${SFX}_sysent.c \ - linux${SFX}_sysvec.c linux_uid16.c linux_time.c \ - linux_timer.c linux_vdso.c linux_rseq.c \ - opt_inet6.h opt_compat.h opt_posix.h opt_usb.h vnode_if.h \ - device_if.h bus_if.h +SRCS= linux${SFX}_dummy_machdep.c \ + linux_event.c \ + linux_file.c \ + linux_fork.c \ + linux_futex.c \ + linux_getcwd.c \ + linux_ioctl.c \ + linux_ipc.c \ + linux${SFX}_machdep.c \ + linux_misc.c \ + linux_rseq.c \ + linux_signal.c \ + linux_socket.c \ + linux_stats.c \ + linux_sysctl.c \ + linux${SFX}_sysent.c \ + linux${SFX}_sysvec.c \ + linux_time.c \ + linux_timer.c \ + linux_uid16.c \ + linux_vdso.c \ + opt_compat.h \ + opt_inet6.h \ + opt_posix.h \ + opt_usb.h \ + bus_if.h \ + device_if.h \ + vnode_if.h .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" SRCS+= linux_dummy_x86.c VDSODEPS=linux_vdso_gettc_x86.inc @@ -34,15 +54,23 @@ DPSRCS= assym.inc linux${SFX}_genassym.c # XXX: for assym.inc SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h .if ${MACHINE_CPUARCH} == "i386" -SRCS+= opt_apic.h +SRCS+= opt_apic.h opt_cpu.h .endif OBJS= linux${SFX}_vdso.so .if ${MACHINE_CPUARCH} == "i386" -SRCS+= linux_ptrace_machdep.c imgact_linux.c linux_util.c linux_mib.c \ - linux_mmap.c linux_dummy.c linux_emul.c linux_errno.c opt_cpu.h linux.c \ - linux_x86.c linux_vdso_selector_x86.c +SRCS+= imgact_linux.c \ + linux.c \ + linux_dummy.c \ + linux_emul.c \ + linux_errno.c \ + linux_mib.c \ + linux_mmap.c \ + linux_ptrace_machdep.c \ + linux_util.c \ + linux_vdso_selector_x86.c \ + linux_x86.c .endif .if ${MACHINE_CPUARCH} == "i386" diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index fd1363679513..3d7b973742e9 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -6,13 +6,35 @@ .endif KMOD= linux64 -SRCS= linux_elf64.c linux_fork.c linux_dummy_machdep.c linux_file.c \ - linux_event.c linux_futex.c linux_getcwd.c linux_ioctl.c linux_ipc.c \ - linux_machdep.c linux_misc.c linux_ptrace.c linux_signal.c \ - linux_socket.c linux_stats.c linux_sysctl.c linux_sysent.c \ - linux_sysvec.c linux_time.c linux_vdso.c linux_timer.c linux_rseq.c \ - opt_compat.h opt_inet6.h opt_posix.h opt_usb.h \ - vnode_if.h device_if.h bus_if.h \ +SRCS= linux_dummy_machdep.c \ + linux_elf64.c \ + linux_event.c \ + linux_file.c \ + linux_fork.c \ + linux_futex.c \ + linux_getcwd.c \ + linux_ioctl.c \ + linux_ipc.c \ + linux_machdep.c \ + linux_misc.c \ + linux_ptrace.c \ + linux_rseq.c \ + linux_signal.c \ + linux_socket.c \ + linux_stats.c \ + linux_sysctl.c \ + linux_sysent.c \ + linux_sysvec.c \ + linux_time.c \ + linux_vdso.c \ + linux_timer.c \ + opt_compat.h \ + opt_inet6.h \ + opt_posix.h \ + opt_usb.h \ + bus_if.h \ + device_if.h \ + vnode_if.h \ linux_support.s .if ${MACHINE_CPUARCH} == "amd64" SRCS+= linux_dummy_x86.c