aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2020-12-05 14:53:24 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2021-06-10 09:24:32 +0000
commitbb687ce0126833710ac5fc9a9d80240e94735df6 (patch)
treecc145d46772b10c4a0cb20fb6c02d9ced100cc72 /sys/modules
parenta2760a540fbf38584798a057d43adb659e0bb50e (diff)
downloadsrc-bb687ce0126833710ac5fc9a9d80240e94735df6.tar.gz
src-bb687ce0126833710ac5fc9a9d80240e94735df6.zip
Fix i386 linux module after r367395.
In r367395 parts of machine dependent linux_dummy.c were moved to a new machine independent file sys/compat/linux/linux_dummy.c and the existing linux_dummy.c was renamed to linux_dummy_machdep.c. Add linux_dummy_machdep.c to the linux module for i386. Rename sys/amd64/linux32/linux_dummy.c for consistency. Add the new linux_dummy.c to the linux module for i386. (cherry picked from commit df4ca45cf943fb62c7771e479f5f999570ec6928)
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/linux/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 3092c5d81d80..0cf780106be7 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -13,7 +13,7 @@ CFLAGS+=-DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32
VDSO= linux${SFX}_vdso
KMOD= linux
-SRCS= linux_fork.c linux${SFX}_dummy.c linux_file.c linux_event.c \
+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 \
@@ -41,7 +41,7 @@ OBJS= ${VDSO}.so
.if ${MACHINE_CPUARCH} == "i386"
SRCS+= linux_ptrace.c imgact_linux.c linux_util.c linux_mib.c linux_mmap.c \
- linux_emul.c linux_errno.c opt_cpu.h linux.c
+ linux_dummy.c linux_emul.c linux_errno.c opt_cpu.h linux.c
.endif
.if ${MACHINE_CPUARCH} == "i386"