diff options
author | Brian Behlendorf <[email protected]> | 2009-11-10 14:06:57 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-11-10 14:06:57 -0800 |
commit | baf2979ed35c1a9c2e90e84416e220ab3d25140a (patch) | |
tree | 9040926a680c1a31ae6734cd5f014cbfc1d7e1d3 /include/sys/kmem.h | |
parent | f97cd5fd875e8c28c6411ef86845ad0ec283f115 (diff) |
Linux 2.6.31 Compatibility Updates
SPL_AC_2ARGS_SET_FS_PWD macro updated to explicitly include
linux/fs_struct.h which was dropped from linux/sched.h.
min_wmark_pages, low_wmark_pages, high_wmark_pages macros
introduced in newer kernels. For older kernels mm_compat.h
was introduced to define them as needed as direct mappings
to per zone min_pages, low_pages, max_pages.
Diffstat (limited to 'include/sys/kmem.h')
-rw-r--r-- | include/sys/kmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/kmem.h b/include/sys/kmem.h index 7cfbc49e5..3e5eb204f 100644 --- a/include/sys/kmem.h +++ b/include/sys/kmem.h @@ -36,7 +36,7 @@ extern "C" { #include <linux/module.h> #include <linux/slab.h> #include <linux/vmalloc.h> -#include <linux/mm.h> +#include <linux/mm_compat.h> #include <linux/spinlock.h> #include <linux/rwsem.h> #include <linux/hash.h> |