summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorYuxuan Shui <[email protected]>2013-05-14 08:40:20 +0800
committerBrian Behlendorf <[email protected]>2013-07-08 15:21:28 -0700
commit79a7ab25812d2701230aaff62904570ef7dbecef (patch)
tree674fb7ad85dd790b7bd1b4f6f0b9016a115a193c /module
parent1ddf9722dcb6429d38fcbc5ff791779ec89be9fc (diff)
Linux 3.10 compat: add missing include of linux/slab.h
Linux kernel commit torvalds/linux@0d01ff2 changes some includes we were depending on through linux/proc_fs.h. Signed-off-by: Yuxuan Shui <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #257
Diffstat (limited to 'module')
-rw-r--r--module/splat/splat-atomic.c1
-rw-r--r--module/splat/splat-thread.c1
-rw-r--r--module/splat/splat-time.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/module/splat/splat-atomic.c b/module/splat/splat-atomic.c
index df3b38f58..f702196be 100644
--- a/module/splat/splat-atomic.c
+++ b/module/splat/splat-atomic.c
@@ -26,6 +26,7 @@
#include <sys/atomic.h>
#include <sys/thread.h>
+#include <linux/slab.h>
#include "splat-internal.h"
#define SPLAT_ATOMIC_NAME "atomic"
diff --git a/module/splat/splat-thread.c b/module/splat/splat-thread.c
index a1e70db47..e55acd0c8 100644
--- a/module/splat/splat-thread.c
+++ b/module/splat/splat-thread.c
@@ -26,6 +26,7 @@
#include <sys/thread.h>
#include <sys/random.h>
+#include <linux/slab.h>
#include "splat-internal.h"
#define SPLAT_THREAD_NAME "thread"
diff --git a/module/splat/splat-time.c b/module/splat/splat-time.c
index ca60c45c6..cd513c93f 100644
--- a/module/splat/splat-time.c
+++ b/module/splat/splat-time.c
@@ -25,6 +25,7 @@
\*****************************************************************************/
#include <sys/time.h>
+#include <linux/slab.h>
#include "splat-internal.h"
#define SPLAT_TIME_NAME "time"