aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/device_pager.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-08-05 14:11:42 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-08-05 14:11:42 +0000
commit1c771f9222a08a2a4a376209430038d9561f2470 (patch)
treee43451f867df87793408c455ea0ee0459bfc180e /sys/vm/device_pager.c
parentd68fc999de5fcf708e2c20f2d9d7ccb042f6d338 (diff)
downloadsrc-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/vm/device_pager.c')
-rw-r--r--sys/vm/device_pager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c
index ad3e914504ec..546c9bd807c9 100644
--- a/sys/vm/device_pager.c
+++ b/sys/vm/device_pager.c
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
#include <sys/sx.h>
#include <vm/vm.h>
+#include <vm/vm_param.h>
#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/vm_pager.h>