aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2012-11-02 15:29:44 -0700
committerBrian Behlendorf <[email protected]>2012-11-06 14:48:56 -0800
commitdf870a697fc8669d63534b27a108335269a7884f (patch)
tree18b4965b6a407de433035af8cc0d7856b0acfcb9 /include/sys
parentd2733258d09b02fac76af0df9921e369d33e9642 (diff)
splat: Cleanup headers
Restructure the the SPLAT headers such that each test only includes the minimal set of headers it requires. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/kmem.h1
-rw-r--r--include/sys/types.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/kmem.h b/include/sys/kmem.h
index 0149e754c..e71a443a0 100644
--- a/include/sys/kmem.h
+++ b/include/sys/kmem.h
@@ -28,7 +28,6 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
-#include <linux/mm_compat.h>
#include <linux/spinlock.h>
#include <linux/rwsem.h>
#include <linux/hash.h>
diff --git a/include/sys/types.h b/include/sys/types.h
index 0c3d88ec3..35905eb97 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -42,6 +42,8 @@
#include <linux/proc_compat.h>
#include <linux/math64_compat.h>
#include <linux/zlib_compat.h>
+#include <linux/mm_compat.h>
+#include <linux/delay.h>
#ifndef HAVE_UINTPTR_T
typedef unsigned long uintptr_t;