summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2016-02-09 20:22:35 +0000
committerglebius <glebius@FreeBSD.org>2016-02-09 20:22:35 +0000
commitb3c4f0ddbf7454fa0fadf3225bb6b722d4fbbc4a (patch)
tree05807df471c00ec6999db5659bfc2da98df5d933 /sys/vm
parent6ea080df6a2f64367f886f1030ff47ed0d8f709f (diff)
downloadFreeBSD-src-b3c4f0ddbf7454fa0fadf3225bb6b722d4fbbc4a.zip
FreeBSD-src-b3c4f0ddbf7454fa0fadf3225bb6b722d4fbbc4a.tar.gz
Include sys/_task.h into uma_int.h, so that taskqueue.h isn't a
requirement for uma_int.h. Suggested by: jhb
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/memguard.c1
-rw-r--r--sys/vm/uma_dbg.c1
-rw-r--r--sys/vm/uma_int.h2
-rw-r--r--sys/vm/vm_page.c1
4 files changed, 2 insertions, 3 deletions
diff --git a/sys/vm/memguard.c b/sys/vm/memguard.c
index fb70a41..d4efc2b 100644
--- a/sys/vm/memguard.c
+++ b/sys/vm/memguard.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/malloc.h>
#include <sys/sysctl.h>
-#include <sys/taskqueue.h>
#include <sys/vmem.h>
#include <vm/vm.h>
diff --git a/sys/vm/uma_dbg.c b/sys/vm/uma_dbg.c
index 7bf06d3..dcef5c9 100644
--- a/sys/vm/uma_dbg.c
+++ b/sys/vm/uma_dbg.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/malloc.h>
-#include <sys/taskqueue.h>
#include <vm/vm.h>
#include <vm/vm_object.h>
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h
index 1b0d5d5..132cc63 100644
--- a/sys/vm/uma_int.h
+++ b/sys/vm/uma_int.h
@@ -28,6 +28,8 @@
*
*/
+#include <sys/_task.h>
+
/*
* This file includes definitions, structures, prototypes, and inlines that
* should not be used outside of the actual implementation of UMA.
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index b510696..d27eb2d 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -102,7 +102,6 @@ __FBSDID("$FreeBSD$");
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
#include <sys/vnode.h>
-#include <sys/taskqueue.h>
#include <vm/vm.h>
#include <vm/pmap.h>
OpenPOWER on IntegriCloud