]> git.proxmox.com Git - mirror_spl.git/commitdiff
Include linux/vmalloc.h for ARM and Sparc
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 6 Jan 2014 23:08:35 +0000 (15:08 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jan 2014 18:45:39 +0000 (10:45 -0800)
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 <behlendorf1@llnl.gov>
Issue #257
Closes #291

include/sys/vmsystm.h

index 909749103bcfc7fabf2a6003ad718b2ca594dba5..adff7742923ba4c75ac40da8fed8431491e51f37 100644 (file)
@@ -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>