aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-01-06 15:08:35 -0800
committerBrian Behlendorf <[email protected]>2014-01-07 10:45:39 -0800
commit2f117de8beca7da1d22103df4630e9298afae370 (patch)
treeb1e3b5ff713ccf0b66257b3b7e5c25691adbc64c /include/sys
parent921a35adeb9ccfa123add942bfe20837454138fa (diff)
Include linux/vmalloc.h for ARM and Sparc
Related to issue #257 which added Linux 3.10 compatibility. For ARM and Sparc architectures we must explicitly include the <linux/vmalloc.h> header to ensure the vmalloc_info structure is always defined when available. Signed-off-by: Brian Behlendorf <[email protected]> Issue #257 Closes #291
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/vmsystm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h
index 909749103..adff77429 100644
--- a/include/sys/vmsystm.h
+++ b/include/sys/vmsystm.h
@@ -29,6 +29,7 @@
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/highmem.h>
+#include <linux/vmalloc.h>
#include <sys/types.h>
#include <asm/uaccess.h>