diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-06-05 14:55:22 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-06-05 14:55:22 +0000 |
commit | f4934662e5d837053e785525653e390ce6933d2b (patch) | |
tree | 476e08b4812ed877bdf927598a5c7deae99fdcdf /sys/vm | |
parent | 4df1a4e912a3f28cda78498cc27541eb191be270 (diff) | |
download | FreeBSD-src-f4934662e5d837053e785525653e390ce6933d2b.zip FreeBSD-src-f4934662e5d837053e785525653e390ce6933d2b.tar.gz |
Move "options MAC" from opt_mac.h to opt_global.h, as it's now in GENERIC
and used in a large number of files, but also because an increasing number
of incorrect uses of MAC calls were sneaking in due to copy-and-paste of
MAC-aware code without the associated opt_mac.h include.
Discussed with: pjd
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/swap_pager.c | 1 | ||||
-rw-r--r-- | sys/vm/vm_mmap.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 6b58294..769a11d 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -69,7 +69,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include "opt_mac.h" #include "opt_swap.h" #include "opt_vm.h" diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index c79a0f4..fb9bb5f1 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include "opt_compat.h" #include "opt_hwpmc_hooks.h" -#include "opt_mac.h" #include <sys/param.h> #include <sys/systm.h> |