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 #12975
(cherry picked from commit e86f88a)
Signed-off-by: Jonathon Fernyhough <jonathon@m2x.dev>
  • Loading branch information
rincebrain authored and jonathonf committed Feb 2, 2022
1 parent af88d47 commit 6bee1d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/kernel-kmem.m4
Original file line number Diff line number Diff line change
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 6bee1d6

Please sign in to comment.