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 <yshuiv7@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #257
This commit is contained in:
Yuxuan Shui 2013-05-14 08:40:20 +08:00 committed by Brian Behlendorf
parent 1ddf9722dc
commit 79a7ab2581
3 changed files with 3 additions and 0 deletions

View 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"

View 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"

View File

@ -25,6 +25,7 @@
\*****************************************************************************/
#include <sys/time.h>
#include <linux/slab.h>
#include "splat-internal.h"
#define SPLAT_TIME_NAME "time"