Skip to content

Commit

Permalink
Linux 5.16 compat: Check slab.h for kvmalloc
Browse files Browse the repository at this point in the history
As it says on the tin - the folio work moved a bunch out of mm.h.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Coleman Kane <ckane@colemankane.org>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes openzfs#12975
  • Loading branch information
rincebrain authored and nicman23 committed Aug 22, 2022
1 parent 130a3fa commit 4cd8a69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/kernel-kmem.m4
Expand Up @@ -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));
Expand Down

0 comments on commit 4cd8a69

Please sign in to comment.