]> git.proxmox.com Git - mirror_spl.git/commitdiff
Linux 3.10 compat: add missing include of linux/slab.h
authorYuxuan Shui <yshuiv7@gmail.com>
Tue, 14 May 2013 00:40:20 +0000 (08:40 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 8 Jul 2013 22:21:28 +0000 (15:21 -0700)
Linux kernel commit torvalds/linux@0d01ff2 changes some
includes we were depending on through linux/proc_fs.h.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #257

module/splat/splat-atomic.c
module/splat/splat-thread.c
module/splat/splat-time.c

index df3b38f581a86705da7631fd647798d35d3a0301..f702196bedc2a216a304d6583d2c7ff89762b051 100644 (file)
@@ -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"
index a1e70db4759eef866be721d0fdedbc33c839d0a2..e55acd0c8c4c5bcce6742a8d95ac79b8acdc2160 100644 (file)
@@ -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"
index ca60c45c6ac8d887b1aaa73e1eeb8d20d666be3d..cd513c93f91f1a966d1ec4f4e40c4a3f3dc077c0 100644 (file)
@@ -25,6 +25,7 @@
 \*****************************************************************************/
 
 #include <sys/time.h>
+#include <linux/slab.h>
 #include "splat-internal.h"
 
 #define SPLAT_TIME_NAME                        "time"