mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
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:
parent
1ddf9722dc
commit
79a7ab2581
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -25,6 +25,7 @@
|
||||
\*****************************************************************************/
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <linux/slab.h>
|
||||
#include "splat-internal.h"
|
||||
|
||||
#define SPLAT_TIME_NAME "time"
|
||||
|
Loading…
Reference in New Issue
Block a user