diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 15:51:18 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 15:51:18 +0000 |
commit | 67d39748499e85cff626c202aa2cb6e9f180283e (patch) | |
tree | 727bdc803a1ee883bef970562b3e0caca6592c53 /sys/compat/linux/linux_mib.h | |
parent | 606bcc174187707fd4712d67d217bc24c33abb10 (diff) | |
download | src-67d39748499e85cff626c202aa2cb6e9f180283e.tar.gz src-67d39748499e85cff626c202aa2cb6e9f180283e.zip |
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
Notes:
svn path=/head/; revision=283421
Diffstat (limited to 'sys/compat/linux/linux_mib.h')
-rw-r--r-- | sys/compat/linux/linux_mib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h index 89c4e28298c3..e8bf22686f5f 100644 --- a/sys/compat/linux/linux_mib.h +++ b/sys/compat/linux/linux_mib.h @@ -31,6 +31,10 @@ #ifndef _LINUX_MIB_H_ #define _LINUX_MIB_H_ +#ifdef SYSCTL_DECL +SYSCTL_DECL(_compat_linux); +#endif + void linux_osd_jail_register(void); void linux_osd_jail_deregister(void); |