aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-kmem.m4
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-24 20:57:00 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commit6e625bd7bd7b75206111a2bbbfdb77117c1e64ab (patch)
treefb65c5324c7d40156a92e46a10ae1f46c6c24134 /config/kernel-kmem.m4
parentf95d76cc28ce65d1ed46fafac329ac07cc6b60a5 (diff)
config: remove HAVE_KVMALLOC
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'config/kernel-kmem.m4')
-rw-r--r--config/kernel-kmem.m427
1 files changed, 1 insertions, 26 deletions
diff --git a/config/kernel-kmem.m4 b/config/kernel-kmem.m4
index 03c2a41fb..f1c0d2412 100644
--- a/config/kernel-kmem.m4
+++ b/config/kernel-kmem.m4
@@ -58,31 +58,6 @@ AC_DEFUN([SPL_AC_DEBUG_KMEM_TRACKING], [
])
dnl #
-dnl # 4.12 API,
-dnl # Added kvmalloc allocation strategy
-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));
-
- p = kvmalloc(0, GFP_KERNEL);
- ])
-])
-
-AC_DEFUN([ZFS_AC_KERNEL_KVMALLOC], [
- AC_MSG_CHECKING([whether kvmalloc(ptr, flags) is available])
- ZFS_LINUX_TEST_RESULT([kvmalloc], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_KVMALLOC, 1, [kvmalloc exists])
- ],[
- AC_MSG_RESULT(no)
- ])
-])
-
-dnl #
dnl # 5.8 API,
dnl # __vmalloc PAGE_KERNEL removal
dnl #
@@ -106,4 +81,4 @@ AC_DEFUN([ZFS_AC_KERNEL_VMALLOC_PAGE_KERNEL], [
AC_MSG_RESULT(no)
])
])
-- \ No newline at end of file
+-