Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Linux 3.10 compat: add missing include of linux/slab.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yshui authored and behlendorf committed Jul 8, 2013
1 parent 1ddf972 commit 79a7ab2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions module/splat/splat-atomic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions module/splat/splat-thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions module/splat/splat-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
\*****************************************************************************/

#include <sys/time.h>
#include <linux/slab.h>
#include "splat-internal.h"

#define SPLAT_TIME_NAME "time"
Expand Down

0 comments on commit 79a7ab2

Please sign in to comment.