path: root/sys/conf
diff options
authorDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 15:51:18 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 15:51:18 +0000
commit67d39748499e85cff626c202aa2cb6e9f180283e (patch)
tree727bdc803a1ee883bef970562b3e0caca6592c53 /sys/conf
parent606bcc174187707fd4712d67d217bc24c33abb10 (diff)
Introduce a new module linux_common.ko which is intended for the
following primary purposes: 1. Remove the dependency of linsysfs and linprocfs modules from linux.ko, which will be architecture specific on amd64. 2. Incorporate into linux_common.ko general code for platforms on which we'll support two Linuxulator modules (for both instruction set - 32 & 64 bit). 3. Move malloc(9) declaration to linux_common.ko, to enable getting memory usage statistics properly. Currently linux_common.ko incorporates a code from linux_mib.c and linux_util.c and linprocfs, linsysfs and linux kernel modules depend on linux_common.ko. Temporarily remove dtrace garbage from linux_mib.c and linux_util.c Differential Revision: https://reviews.freebsd.org/D1072 In collaboration with: Vassilis Laganakos. Reviewed by: trasz
Notes: svn path=/head/; revision=283421
Diffstat (limited to 'sys/conf')
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index a1e901f4775a..9d40d586b0ef 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -508,6 +508,7 @@ compat/linux/linux_timer.c optional compat_linux32
compat/linux/linux_uid16.c optional compat_linux32
compat/linux/linux_util.c optional compat_linux32
compat/linux/linux_vdso.c optional compat_linux32
+compat/linux/linux_common.c optional compat_linux32
dev/amr/amr_linux.c optional compat_linux32 amr
dev/mfi/mfi_linux.c optional compat_linux32 mfi