diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2022-10-29 15:30:32 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2022-10-29 16:11:24 +0000 |
commit | f396f9b6c96f6d68d4e3606ddb090287230fc565 (patch) | |
tree | 754d9ac9b61df4055f2feecc2992c2c48f15c2a8 /sys/modules | |
parent | 331784880821c6aa55188d0950e98d898c42203c (diff) | |
download | src-f396f9b6c96f6d68d4e3606ddb090287230fc565.tar.gz src-f396f9b6c96f6d68d4e3606ddb090287230fc565.zip |
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
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/linux/Makefile | 1 | ||||
-rw-r--r-- | sys/modules/linux64/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
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 \ |