Skip to content

Commit

Permalink
Include linux/vmalloc.h for ARM and Sparc
Browse files Browse the repository at this point in the history
Related to issue openzfs#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 openzfs#257
Closes openzfs#291
  • Loading branch information
behlendorf authored and ryao committed Jan 27, 2014
1 parent 6712862 commit a231677
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/sys/vmsystm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit a231677

Please sign in to comment.