aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Ercolani <[email protected]>2022-01-14 05:09:08 -0500
committerBrian Behlendorf <[email protected]>2022-01-24 12:57:50 -0800
commite86f88aa0b4f4e2784980d6d5c04f397e4839493 (patch)
tree4340528765f5024bffcea14290c98807a29016cd
parent17b2ae0b24d487fdda2ef1098ec26fa7f79a61f6 (diff)
Linux 5.16 compat: Check slab.h for kvmalloc
As it says on the tin - the folio work moved a bunch out of mm.h. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Coleman Kane <[email protected]> Signed-off-by: Rich Ercolani <[email protected]> Closes #12975
-rw-r--r--config/kernel-kmem.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/kernel-kmem.m4 b/config/kernel-kmem.m4
index 43f9e72f8..03c2a41fb 100644
--- a/config/kernel-kmem.m4
+++ b/config/kernel-kmem.m4
@@ -64,6 +64,7 @@ dnl #
AC_DEFUN([ZFS_AC_KERNEL_SRC_KVMALLOC], [
ZFS_LINUX_TEST_SRC([kvmalloc], [
#include <linux/mm.h>
+ #include <linux/slab.h>
],[
void *p __attribute__ ((unused));