diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2012-08-05 14:11:42 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2012-08-05 14:11:42 +0000 |
commit | 1c771f9222a08a2a4a376209430038d9561f2470 (patch) | |
tree | e43451f867df87793408c455ea0ee0459bfc180e /sys/kern/subr_uio.c | |
parent | d68fc999de5fcf708e2c20f2d9d7ccb042f6d338 (diff) | |
download | src-1c771f9222a08a2a4a376209430038d9561f2470.tar.gz src-1c771f9222a08a2a4a376209430038d9561f2470.zip |
After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason
to pull vm_param.h was removed. Other big dependency of vm_page.h on
vm_param.h are PA_LOCK* definitions, which are only needed for
in-kernel code, because modules use KBI-safe functions to lock the
pages.
Stop including vm_param.h into vm_page.h. Include vm_param.h
explicitely for the kernel code which needs it.
Suggested and reviewed by: alc
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=239065
Diffstat (limited to 'sys/kern/subr_uio.c')
-rw-r--r-- | sys/kern/subr_uio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c index b85e50b88df2..7895fcf843af 100644 --- a/sys/kern/subr_uio.c +++ b/sys/kern/subr_uio.c @@ -53,11 +53,11 @@ __FBSDID("$FreeBSD$"); #include <sys/vnode.h> #include <vm/vm.h> +#include <vm/vm_param.h> #include <vm/vm_extern.h> #include <vm/vm_page.h> #include <vm/vm_map.h> #ifdef ZERO_COPY_SOCKETS -#include <vm/vm_param.h> #include <vm/vm_object.h> #endif |