From 6bee1d685b55c4568a4437586d0f15f762de1ec4 Mon Sep 17 00:00:00 2001 From: Rich Ercolani Date: Fri, 14 Jan 2022 05:09:08 -0500 Subject: [PATCH] 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 Reviewed-by: Coleman Kane Signed-off-by: Rich Ercolani Closes #12975 (cherry picked from commit e86f88aa0b4f4e2784980d6d5c04f397e4839493) Signed-off-by: Jonathon Fernyhough --- config/kernel-kmem.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/config/kernel-kmem.m4 b/config/kernel-kmem.m4 index 43f9e72f88d8..03c2a41fbdb2 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 + #include ],[ void *p __attribute__ ((unused));