diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-04-06 17:35:35 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2018-04-06 17:35:35 +0000 |
commit | 6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd (patch) | |
tree | 91aa218d5c7ba678789e2d491820dfe1e29122b4 /sys/dev/filemon | |
parent | d9b41671bfa3cde03ac3795ef8320e718de20086 (diff) | |
download | src-6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd.tar.gz src-6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd.zip |
Move most of the contents of opt_compat.h to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network
driver compabibility improvements may add over 100 more so this is
closer to "just about everywhere" than "only some files" per the
guidance in sys/conf/options.
Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of
sys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.h
is created on all architectures.
Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the
set of compiled files.
Reviewed by: kib, cem, jhb, jtl
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14941
Notes
Notes:
svn path=/head/; revision=332122
Diffstat (limited to 'sys/dev/filemon')
-rw-r--r-- | sys/dev/filemon/filemon.c | 2 | ||||
-rw-r--r-- | sys/dev/filemon/filemon_wrapper.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/filemon/filemon.c b/sys/dev/filemon/filemon.c index 8ae6b55c44c8..38c4eb3f4a56 100644 --- a/sys/dev/filemon/filemon.c +++ b/sys/dev/filemon/filemon.c @@ -31,8 +31,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include "opt_compat.h" - #include <sys/param.h> #include <sys/file.h> #include <sys/systm.h> diff --git a/sys/dev/filemon/filemon_wrapper.c b/sys/dev/filemon/filemon_wrapper.c index fbc101afda34..2b742d0dab8b 100644 --- a/sys/dev/filemon/filemon_wrapper.c +++ b/sys/dev/filemon/filemon_wrapper.c @@ -39,8 +39,6 @@ __FBSDID("$FreeBSD$"); #include <sys/sysent.h> #include <sys/vnode.h> -#include "opt_compat.h" - static eventhandler_tag filemon_exec_tag; static eventhandler_tag filemon_exit_tag; static eventhandler_tag filemon_fork_tag; |