git: f396f9b6c96f - main - linux, linux64: fix module load

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Sat, 29 Oct 2022 16:12:00 UTC
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=f396f9b6c96f6d68d4e3606ddb090287230fc565

commit f396f9b6c96f6d68d4e3606ddb090287230fc565
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-10-29 15:30:32 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-10-29 16:11:24 +0000

    linux, linux64: fix module load
    
    The previous commit added references to to the syscallnames arrays, but
    failed to add the relevant source files to the module build. Thus, the
    modules failed to load due to missing symbols.
    
    Reported by:    cy
    Fixes:  1da65dcb1c57 ("linux: populate sv_syscallnames in each sysentvec")
    Sponsored by:   The FreeBSD Foundation
---
 sys/modules/linux/Makefile   | 1 +
 sys/modules/linux64/Makefile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 808f87f87dc7..2cd7c54cd216 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -25,6 +25,7 @@ SRCS=	linux${SFX}_dummy_machdep.c \
 	linux_signal.c \
 	linux_socket.c \
 	linux_stats.c \
+	linux${SFX}_syscalls.c \
 	linux_sysctl.c \
 	linux${SFX}_sysent.c \
 	linux${SFX}_sysvec.c \
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index 3d7b973742e9..ef6644c3deb7 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -22,6 +22,7 @@ SRCS=	linux_dummy_machdep.c \
 	linux_signal.c \
 	linux_socket.c \
 	linux_stats.c \
+	linux_syscalls.c \
 	linux_sysctl.c \
 	linux_sysent.c \
 	linux_sysvec.c \